PDA

View Full Version : DNS problem with single domain


invops
07-25-2006, 06:03 PM
I'm having a very strange problem. As of about 12:30 pm today, DNS for one of the domains on my server stopped working.

Thankfully, it's only affecting one of my domains instead of my clients, but it's a domain I do a fair amount of testing on, so it's incredibly annoying. And it's one I'm planning to put into production in the next month or so. And, to top it off, the .net version of the domain works, which is just a domain pointer to the failing .com...

I've tried restarting named (and apache, DA, and anything else I could think of), and I've manually checked both the named.conf and /var/named/domain.db files, and they both look clear. And, of course, I've checked the registrar to make sure it's still got the right nameservers. Nevertheless, a ping returns 'Unknown host' and dnsreport.com says:

Your NS records at your nameservers are:

None of your nameservers returned your NS records; they could be down
or unreachable, or could all be lame nameservers

What should I do from here to troubleshoot this? Thanks in advance for your help.

rocketcity
07-25-2006, 08:33 PM
What is the domain that is having problems? Have you checked to make sure that the domain has not expired?

invops
07-25-2006, 08:51 PM
No, the domain hasn't expired.

The domain is invops.com.

gcypher
07-26-2006, 01:27 AM
You appear to have lame nameservers.
Did you upgrade BIND lately ?

gcypher
07-26-2006, 01:36 AM
[root@lws1 ~]# locate fast-xs.com.db
/var/named/chroot/var/named/fast-xs.com.db
/var/named/fast-xs.com.db.rpmsave
/var/named/fast-xs.com.db
[root@lws1 ~]#


you might check for the *.db files to be in the right place.

invops
07-26-2006, 05:20 AM
I haven't upgraded bind, no. But there is a domain.tdl.db file in /var/named.

It's not anywhere else, but neither is any of the other domains on the server, which are all working.

eConcept-Web
07-26-2006, 03:33 PM
I have the same problem. DA doesn't write the files in named.conf is that normal.

I have a domain name, and it's working, but a subdomain account doesn't work. any idea???

thx

invops
07-26-2006, 03:44 PM
Originally posted by eConcept-Web
I have the same problem. DA doesn't write the files in named.conf is that normal.

I have a domain name, and it's working, but a subdomain account doesn't work. any idea???

thx

All /etc/named.conf should have is something like this for each domain:
zone "foobar.com" { type master; file "/var/named/foobar.com.db"; };

Well, it should have a lot of other things, but on a per-domain basis, it should only have a reference to the zone file. Any subdomains would be in the zone file itself.

Is your domain in your named.conf? And if so, is the subdomain in the /var/named/foobar.com.db file?

eConcept-Web
07-26-2006, 03:47 PM
yes i know that but I need to add it manually.

And yess the subdomain have it's own .db ???

http://emission.pure-chaos.org/ doesn't work
http://www.pure-chaos.org/ work

invops
07-26-2006, 09:13 PM
Subdomains don't get their own .db files. They are entries within the actual zone files.

So, if you're looking to add a subdomain, you don't add a subdomain.domain.com.db file. You add a new entry into the domain.com.db file.

Or, better yet, rather than doing it manually, use DA's interface to manage your zone files.

eConcept-Web
07-27-2006, 06:15 AM
the subdomain is created like a domain name. it's an account. Uselly, i use DA but since 3 days, DA doesn't add it correctly !!! any idea.

These domain are also broken:

http://www.dvd-center.org/
http://www.mediadvd.net/

and the zone is correctly added.