I could sure use some help with this one:
I've got two Windows Server 2008 R2 x64 Terminal Servers, as well as several 2003 servers (DNS / Wins / AD / DC). On the two 2008 boxes, every now and then they will get in this mode where you can't map a drive to a random server. I say random server because it's not always the same server that you can't map to.
Here is a summary of what I can and can't do:
net view \\servername Sometimes this works, sometimes it does not.
net view \\FQDN This always works.
net view \\IPAddress This always works.
ping servername Sometimes this works, sometimes it does not.
ping FQDN This always works.
ping IPAddress This always works.
I've been looking all over for a solution to this. It sure seems like Microsoft would have a hotfix by now.
The kicker to this is that it sometimes works great, especially after a reboot. It may run for 2 weeks just fine, but all of a sudden it will fail to resolve the remote server name. It will then be this way for a few days, then it might start working again. Also, while it's in the mode of not working, the other servers have no problem getting there. It's just these 2008 R2 Terminal Servers.
Setting a static entry in the Hosts file and LMHosts does not make it work. All servers have static IPs and they are registered in DNS and Wins just fine.
Here is a long thread on MS Technet of the exact same problem, but they don't have a good solution. Here is their workaround (It was from June of 2010):
Good news - a hotfix is in the works and a workaround has been identified:
Root cause is that since this is SMB1 all user sessions are on a single TCP connection to the remote server. The first user to initiate a connection to the remote SMB server has their logon-ID added to the structure defining the connection. If that user logs off all subsequent uses of that TCP session fail as the logon-id is no longer valid. As a workaround for now to keep the issue from happening you will want to have the user not logoff the Terminal Server only disconnect their sessions.
Any word from anyone out there about a solution? Any help would sure be appreciated.
Thanks, James
I need an EC2 instance to balance all incoming FTP connections to a list of FTP servers (EC2 instances too). This list will be changed dynamically due to the load of the FTP servers (launch a new FTP server when the FTP servers are overloaded or shutdown a FTP server when the load is low).
What you recommend? a FTP proxy? DNS server? Load balancer?
Note: The FTP servers must support Passive Mode
Hi guys,
I was checking out my reverse-DNS entry of my domain the other day which is run from a dedicated server.
I noticed that another person/company had their domain pointing to my server? I have no idea who this company is or why they are pointing their domain at my server IP?
How can I go about stopping this or forcing them to change?
There's a rumour that public domain name resolvers, like Google Public DNS, are still supposed to work with GeoDNS, because there's some field in the requests that lets them specify for which IP address they are doing a resolution, thus the authoritative servers can give a given resolver different resolutions for different final clients.
What's this whole thing called as far as RFCs go, and how does one mimic such resolutions, for testing purposes, e.g. with dig(1)? Else, what other tool is available to accomplish said task?
Today, I am suddenly getting the untrusted website error for all Google websites, but not for any other. Internet Explorer gives no such error. Reboot of this Windows 7 computer does not help.
Is this some kind of virus infection that is hijacking DNS resolution away from Google to some spoofer?
How can I resolve this issue and get Google websites working again normally?
If I manually enter a Google IP Address, the page loads correctly.
I need an EC2 instance to balance all incoming FTP connections to a list of FTP servers (EC2 instances too). This list will be changed dynamically due to the load of the FTP servers (launch a new FTP server when the FTP servers are overloaded or shutdown a FTP server when the load is low).
What you recommend? a FTP proxy? DNS server? Load balancer?
Note: The FTP servers must support Passive Mode
My main domain is example.com, but also bought example.org and example.net. I've configured my webservers at *.example.com to handle requests from the other domains and redirect them correctly to example.com, but I'd rather not re-configure all my DNS records at example.org and example.net to be the same as example.com.
Other than writing some ugly synchronization script, what should I do to have route53 answer queries against my "other" domains with the same data from the "main" domain?
My website takes awfully long time after entering the domain name and before the content starts showing up.
I assume this is something to do with the dns resolution or the networks.
How do I go about troubleshooting this problem? Where do I start and what tools do I need? I know I’ll need nslookup and traceroute. What else will I need?
I have a self hosted server with Apache2 pointed with the domain example.com. I have also some virtual servers www.example.com, cloud.examle.com, etc.
This server is in my LAN, and when I try to acces to my server within the lan throw www.examle.com y get my router's configuration page. From outside the LAN www.example.com and cloud.examle.com works properly. From inside the LAN 192.168.1.33 (server internal IP) shows the default webpage (www.examle.com), but I can not get cloud.examle.com
I also have a LAN name server in 192.168.1.33 with bind9.
I set up my gateway 192.168.1.1 with my LAN-NS as primary NS
I solve this problem creating a new dns zone in the NS.
This are my config files:
;ZONE-1
$ORIGIN .
$TTL 86400 ; 1 day
home.lan. IN SOA server.home.lan. hostmaster.home.lan. (
2008080901 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ; minimum
)
home.lan. IN NS server.home.lan.
$ORIGIN home.lan.
; Set the address for localhost.home.lan
localhost IN A 127.0.0.1
router IN A 192.168.1.1
server IN A 192.168.1.33
mypc IN A 192.168.1.132
;ZONE-2
$ORIGIN .
$TTL 86400 ; 1 day
example.com. IN SOA www.example.com hostmaster.home.lan. (
2008080902 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ; minimum
)
example.com. IN NS 192.168.1.33
$ORIGIN examle.com.
localhost IN A 127.0.0.1
www IN A 192.168.1.33
cloud IN A 192.168.1.33
My DNS and my names are working properly now
My question are:
What do you think about my solution?
Can I change the A zone with CNAME to server.home.lan (this is the domain in the LAN to the server)?
How can I set a default IP for all my whatever.example.com?
Since my server is under a sustain DNS amplification attack (DDOS),
I configured fail2ban and initially my outgoing traffic dropped markedly.
Anyway, after a few hours (mostly +10), fail2ban uses about 75% ram and seems to be crashed in some way, because the outgoing traffic raises imediatly after. When I searched the web for the memory problem, I found some people complaining about high fail2ban memory usages as well. But the recommended solution, to insert an ulimit command into a fail2ban config file, did not change that much for me.
Apache 2.2
CentOS
Plesk 9.x
I am using Plesk to manage my domain names on my virtual host.and GoDaddy for DNS
I have created a new sub-domain blog.
I can see the httpd.include for example has a new virtualhost entry for blog.example.com
I can also see folders have been created for the subdomain blog vhost\example.com folder
But when I try to go to blog.example.com - I get an error - basically the host is not getting resolved
My site - example.com is working fine otherwise
Any idea what could I be missing ?
I did try restarting the apache web server as well
Can I configure my domain, example.com's name servers as:
ns1.dyndns.com
ns2.dyndns.com
ns1.opendns.com
ns2.opendns.com
That is, combining free dns services to create a redundant name server array? Note these name servers from different companies are not aware other companies' name servers also serve our domain.
In case one company, say, ns1(2).dyndns.com is down, will people experience interruption when visiting my example.com? If one name server is unreachable, the next name server will be tried, or?
A newbie question regarding dns records
Let's say I've configured,
abc.example.com - A 10.x.x.x
and a CNAME for xyz.example.com
CNAME for xyz.example.com - abc.example.com
when a user does an http request for xyz.example.com what happens when the request reach the 10.x.x.x server. Will the URL be abc.example.com or xyz.example.com? (trying to find out if virtual host in apache need to be updated)
Thanks much
I am running Exchange 2013 on Windows Server 2012 R2.
When I add my exchange account to Outlook, it seems to work perfectly (sending/receiving email, syncing everything), but when I open the account settings it has the following set as the Server:
[email protected]
I would have expects this to be: mail.domain.com since this is the DNS A record pointing to the IP of my server. Where is it getting this server name?
Hello,
I have to manage two domains :
compagny.com
copagny.bigcompagny.com
I use Bind9 on Debian Lenny.
I want to use one Zone file for both domains.
If I ask for server.compagny.com, it will give me address 10.0.0.1
If I ask for server.compagny.bigcompagny.com, it will give me the same address 10.0.0.1
I don't want to create twice the same files for my DNS Server : Too hard to maintain.
How can I do that ?
Thx
I'm in the process of migrating to a new server, but some traffic that should be going to old server is now coming to the new server before I am ready to migrate. My provider used an IP used as the secondary nameserver on the old server as the primary IP on the new server, so now my secondary nameserver is directing traffic to the new server.
Is there a way to forward the traffic hitting the new IP back to the old IP while I wait for DNS to propagate?
Server is Linux CENTOS 6.5 x86_64 w/ cPanel
Thanks
I host my site at domain.com.
My DNS entries in Route53 are as follows:
domain.com A xxx.xxx.xxx.xxx 300
domain.com NS stuff.awsdns-47.org 172800
domain.com SOA stuff.awsdns-47.org 900
I would like to redirect traffic from www.domain.com to domain.com, as currently this just returns a 404. This question on SO suggested a PTR record, and I added that:
www.domain.com PTR domain.com 300
but it didn't work. What should I be doing?
Hi,
I am wanting to setup a internal development server (LAMP), I need the web team to be able to access different developments sites ie:
example1.local
example2.local
example3.local etc
from within the network.
I believe it would be something to do with DNS?
Any help would be appriciated.
Kyle
What happens if you have 2 DNS entries:
Name | Type | Value
-------------+-------+--------------
example.com | A | 20.20.20.20
example.com | MX | mail.example.com
Does this mean that smtp requests to example.com will map to 20.20.20.20, and somehow request in the headers mail.example.com? What?
Please no spamming or aiming for cheap money.
The registrar needs to have a good ui, work with no downtime, be easy and flexible to use, support easy changing/adding of CNAME fields, MX records, and work well with outside host DNS.
Why pdnsd responds slowly/fails many requests to it even if it has found working upstream server?
I want pdnsd to just use the DNS server {it has probed,that is proven} to work and search for other configured variants only if that chosen server fails.
/* Most time only about 1-2 of configured servers does work, each time different ones. */
I got a big problem when I added a new zone to my current Bind configuration.
===============/etc/named.conf===============
include "/etc/rndc.key";
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndckey"; };
};
acl "trusted" { 127.0.0.1; 208.43.81.157; 69.4.236.88; };
options {
directory "/var/named";
allow-query { any; };
recursion yes;
allow-recursion { trusted; };
};
zone "." {
type hint;
file "root.hints";
};
zone "2comu.com" {
type master;
file "2comu.com.db";
allow-update { none; };
};
zone "usa-diamond.com" {
type master;
file "usa-diamond.com.db";
allow-update { none; };
};
===============/var/named/2comu.com.db===============
$TTL 86400
@ IN SOA ns1.2comu.com. root.2comu.com. (
2011011101
3600
300
3600000
3600 )
IN NS ns1.2comu.com.
IN NS ns2.2comu.com.
IN MX 10 email.2comu.com.
ns1.2comu.com. IN A 208.43.81.157
ns2.2comu.com. IN A 69.4.236.88
www.2comu.com. IN A 208.43.81.157
ftp.2comu.com. IN A 208.43.81.157
email.2comu.com. IN A 208.43.81.157
===============/var/named/usa-diamond.com===============
$TTL 86400
@ IN SOA ns1.2comu.com. root.usa-diamond.com. (
2011011115
3600
300
3600000
3600 )
IN NS ns1.2comu.com.
IN NS ns2.2comu.com.
www.usa-diamond.com. IN A 208.43.81.157
================================================================
All of the configurations inside domain 2comu.com work well. But when www.usa-diamond.com doesn't work at all. When I tried "dig +trace www.usa-diamond.com", I got the following message
================================================================
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> +trace usa-diamond.com
;; global options: printcmd
. 517603 IN NS c.root-servers.net.
. 517603 IN NS d.root-servers.net.
. 517603 IN NS e.root-servers.net.
. 517603 IN NS f.root-servers.net.
. 517603 IN NS g.root-servers.net.
. 517603 IN NS h.root-servers.net.
. 517603 IN NS i.root-servers.net.
. 517603 IN NS j.root-servers.net.
. 517603 IN NS k.root-servers.net.
. 517603 IN NS l.root-servers.net.
. 517603 IN NS m.root-servers.net.
. 517603 IN NS a.root-servers.net.
. 517603 IN NS b.root-servers.net.
;; Received 500 bytes from 208.43.81.157#53(208.43.81.157) in 0 ms
com. 172800 IN NS j.gtld-servers.net.
com. 172800 IN NS d.gtld-servers.net.
com. 172800 IN NS e.gtld-servers.net.
com. 172800 IN NS i.gtld-servers.net.
com. 172800 IN NS f.gtld-servers.net.
com. 172800 IN NS m.gtld-servers.net.
com. 172800 IN NS b.gtld-servers.net.
com. 172800 IN NS k.gtld-servers.net.
com. 172800 IN NS l.gtld-servers.net.
com. 172800 IN NS c.gtld-servers.net.
com. 172800 IN NS h.gtld-servers.net.
com. 172800 IN NS a.gtld-servers.net.
com. 172800 IN NS g.gtld-servers.net.
;; Received 505 bytes from 192.33.4.12#53(c.root-servers.net) in 3 ms
usa-diamond.com. 172800 IN NS ns1.2comu.com.
usa-diamond.com. 172800 IN NS ns2.2comu.com.
;; Received 107 bytes from 192.48.79.30#53(j.gtld-servers.net) in 177 ms
;; Received 33 bytes from 208.43.81.157#53(ns1.2comu.com) in 0 ms
=========================================================================
It seems I can't get any answer from ns1.2comu.com.
Can anyone give some suggestions?
Thanks a lot.
Bob
Hello world!
I’m trying to implement a tail-recursive list-sorting function in OCaml, and I’ve come up with the following code:
let tailrec_merge_sort l =
let split l =
let rec _split source left right =
match source with
| [] -> (left, right)
| head :: tail -> _split tail right (head :: left)
in _split l [] []
in
let merge l1 l2 =
let rec _merge l1 l2 result =
match l1, l2 with
| [], [] -> result
| [], h :: t | h :: t, [] -> _merge [] t (h :: result)
| h1 :: t1, h2 :: t2 ->
if h1 < h2 then _merge t1 l2 (h1 :: result)
else _merge l1 t2 (h2 :: result)
in List.rev (_merge l1 l2 [])
in
let rec sort = function
| [] -> []
| [a] -> [a]
| list -> let left, right = split list in merge (sort left) (sort right)
in sort l
;;
Yet it seems that it is not actually tail-recursive, since I encounter a "Stack overflow during evaluation (looping recursion?)" error.
Could you please help me spot the non tail-recursive call in this code? I've searched quite a lot, without finding it. Cout it be the let binding in the sort function?
Thanks a lot,
CFP.