Domain Does Not Resolve :: Domain Name Server (DNS) Issues
Aug 14, 2008
I've been having some DNS problems with one of my domains for quite some time now. The domain does not always resolve - some go days without being able to access the site.
I ran a simple BASH script to show what I mean. I replaced my domain with "mysite.net" and the IP with "xx.xx.xxx.xxx".
# for i in `seq 1 15`; do host mysite.net; done
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
Host mysite.net not found: 2(SERVFAIL)
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
mysite.net has address xx.xx.xxx.xxx
mysite.net mail is handled by 0 mysite.net.
Has anyone experienced a similar problem? I have gone over the DNS records countless times and see no problems. The site is hosted on my own dedicated server.
I ve been having a problem with the "www" prefix for the domains
For example: [url]
works ok
But
[url]
Does not resolve
here is the named conf
; Modified by Web Host Manager ; Zone File for hayalikelimeler.net $TTL 14400 @ 86400 IN SOA ns1.theplanet.com. fikret.eforelektrik.com. ( 2007032306 14400 7200 3600000 14400 )
hayalikelimeler.net. 14400 IN NS ns1.theplanet.com. hayalikelimeler.net. 14400 IN NS ns2.theplanet.com.
hayalikelimeler.net. 14400 IN A 74.52.228.130
localhost.hayalikelimeler.net. 14400 IN A 127.0.0.1
hayalikelimeler.net. 14400 IN MX 0 hayalikelimeler.net.
mail 14400 IN CNAME hayalikelimeler.net. www 14400 IN CNAME hayalikelimeler.net. ftp 14400 IN A 74.52.228.130
Currently I get problems that domains at certain places not open.
Like e.g I write my server IP XXX.XXX.XXX.XXX it works fine and I get ping reply also, but at the same time I write [url]it would not resolve.
Similarly in web browser I write server IP it gives cpanel page but on same computer I write [url]I get page cannot be opened, when I refresh the page at certain times then it would open. Now once it is opened in the same computer it would work fine here.
In some internet connections it works fine i.e no problems, in some connections get similar problems that domains does not resolve properly.
I added a AAAA ipv6 zone to my dns the idea was to run the SPF validation by google (who checked the ipv6 and not ipv4 (??) )Out today I have a client who called me and because it can no longer connect to my site...I take his computer in hand by teamviewer and actually the ping of my domain solves the ipv6 not ipv4 in the management of IP in plesk I
therefore 187 sites under the ipv4 and ipv6 0 on..I actually do not care about ipv6, it's just for spf..I lack some knowledge with dns I think...must I do something on dns to indicate that ipv4 is that actually hosts the site? or at plesk for all requests to be redirected to the ipv6 on ipv4?
When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?
We have a lot of unused domains that we'd like to setup domain parking for.
To keep it simple, we'd like to just change the namesevers to ns1.domainparking.com and ns2.domainparking.com (not real nameservers!) and the domains would then automatically show a simple web page.
We use cpanel servers and are wondering how easy this is to do? I've seem mention of wildcard dns? Is that the answer?
i have about 8 different domains i'd like to point to a nameserver (ns1./ns2.mydomain.com) on Win2k3 server, but i can't get them resolved through my nameserver without creating a manual forward lookup entry for each *parked* domain separatly..
Does anyone know how to resolve "parked" domains automatically on Win2k3 DNS??
I just can't find any answer for this, everything i've found required manual creation of lookup entries..
But do i need to speak to the datacenter to add the reverse dns entries for my domain on their nameservers? What about if i host my nameservers offsite, but then have my webserver/mailserver etc inside the datacenter? Would i need to request the datacenter where the nameservers are hosted to add the reverse ip entries for the domain, and then the request the same from the datacenter for my web/mail servers to add the reverse entries?
I´ve a domain but haven´t set the DNS servers yet....now I get a free hosting and I wanted to associate the DNS servers to my domain but I don´t know how!!!
It would be great If you could help me...and let me know if you need more info..
OK, I am confused. I have one domain that is parked on top of another domain. I would like Mail that comes to the parked domain to be automatically forwarded to the same user name at the primary domain.
Can I change a DNS or MX record to facilitate this?
Okay guys, a quick question for all the gurus out there. I'll admit I'm a bit embarassed posting such an easy question, but give a guy a break, I've been using managed servers for god knows how long and I've finally decided to take a dive into administration. Everything is firewalled and secured properly, I'm just having trouble getting the ServerAlias to work right.
What happens is I go into my browser and enter in [url]walaa! It works.
Now, when I enter in [url], it does not resolve.
I have checked with "dig" the domain settings and it looks as though all of the nameservers are set up fine, this is an apache problem. I'm running apache 2.2 on Ubuntu 7.10 for all those who are interested.
Here is my etc/apache2/sites-available/domain.com:
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases ServerAdmin webmaster@domain1.com ServerName domain.com ServerAlias www.domain.com
# Index file and Document Root (where the public files are located) DirectoryIndex index.html DocumentRoot /home/demo/public_html/domain.com/public
I just when found this domain on google when I was make some search of content of my site I found domain as a parked domain and work for my site!
so I go to cpanel and parked domain but not found any thing
so what this mean how someone have parked domain for my site and when i go to cpanel noting foudn also when I go to whm and accoubt listed I don’t find that domain?
However I am at the same time retaining the old.domain to keep the older links working
I want that the old.domain/link redirect to new.domain/link
Please advice what would be best to do for the old.domain -
1) Domain forwarding 2) Domain parking
or Both the above
(The other thing is that I would like to do 301 redirect - would this happen automatically by activating the above options - or something else has to be done)
delving into a new server, a dual opteron w/Centos. Got two questions as I think about setup.
1) 32 bit or 64bit?
2) Regarding host names and server assignemt...I can either assign it as a node to a domain hosted elsewhere in a reseller account, or I can start with a completely unused domain which is currently parked.
Any preference, in an ideal world?
(I have absolutely no preference, but it occurrred to me it may or may not be of consequence, perfomance & IT-wise and generally speaking .. all things being equal, of course.)
Like I said, a newbie. So I'm braced for the if-you-have-to-ask, you-shouldn't-be-in-one" musings for these rather basic boneheaders.
For some reason, for one of my sites, www.domain.com resolves correctly -- however, domain.com resolves to the Cpanel default page.
I've set up this domain the same way I set up my others. Also, I checked the DNS entry and see nothing wrong w/ it. Here's a screenshot of my DNS domain zone file: [url]
One of my websites, romeo-help4u.com has this problem. When i type and the address goes to [url]it works fine. But when I go to [url]it doesn't work.
Quote:
Great Success ! Apache is working on your cPanel® and WHM™ Server
If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content.
ATTENTION! If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending an email to <webmaster@domain>.) Although this site is running cPanel, WebHost Manager, and Apache software it almost certainly has no other connection to cPanel Inc. or the Apache Group. Please do not send mail about this site or its contents to cPanel Inc. or the Apache Group.
About cPanel: cPanel is a leading provider of software for the webhosting industry. If you would like to learn more about cPanel please visit our website at www.cpanel.net. Please be advised that cPanel Inc. is not a web hosting company, and as such has no control over content found elsewhere on this site.
About Apache HTTP Server: The Apache HTTP Server is an open source web server which powers many of the worlds web sites. The Apache HTTP server is part of the Apache Group's many influential projects. Their efforts have helped shape much the world wide web, and they continue to be a dominating force in the web hosting industry.
I checked the dns through whm and everything looks normal. What did I set up wrong?
My VPS was a clean build 2 weeks ago and so far i have installed cpanel and configured everything and added accounts. I began that one of my scripts that uses gethostbyaddr($ip) was failing to resolve any of the ip's it received. I made another PHP file to test this, with this code:
PHP Code:
<?phpecho file_get_contents[url];?>
Resulting in:
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known
The thing is, the VPS is resolving domains just fine
;; ANSWER SECTION: google.com. 300 IN A 64.233.167.99 google.com. 300 IN A 64.233.187.99 google.com. 300 IN A 72.14.207.99
;; AUTHORITY SECTION: google.com. 343652 IN NS ns2.google.com. google.com. 343652 IN NS ns3.google.com. google.com. 343652 IN NS ns4.google.com. google.com. 343652 IN NS ns1.google.com.
;; ADDITIONAL SECTION: ns1.google.com. 343143 IN A 216.239.32.10 ns2.google.com. 343143 IN A 216.239.34.10 ns3.google.com. 343143 IN A 216.239.36.10 ns4.google.com. 343143 IN A 216.239.38.10
i use centos based server. yesterday everything was OK. but now, when i connect via SSH, my server can't resolve hosts. wget, ping, or curl don't work. also i use VNC to remote desktop. when try to open a page via firefox, it says server not found.