Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Sat Jan 07, 2006 3:09 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
I see the problem:
Code:
$  dig @70.85.16.76 lecws.com axfr
[...]
demo.lecws.com.lecws.com. 86400 IN      A       70.85.16.76
webmail.lecws.com.lecws.com. 86400 IN   A       70.85.16.76
[...]


That generally means you either have a missing or extraneous period in one of the hostnames specifications somewhere. Usually something like:

Code:
demo.lecws.com    IN  A  70.85.16.76


being the error, causing it to tack on the domain name at the end to make it become demo.lecws.com.lecws.com. IN A 70.85.16.76.

In the zone file, it needs to be either demo IN A ... or demo.lecws.com. IN A ...

But what you've posted and tried (both forms) looks absolutely correct. Hmm. Perhaps had it wrong with an earlier test and it stuck in cached memory?

Try this: set the serial number to 2006010700 then do 'rndc reload', and mention it's been done, here.


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2006 2:10 am 
Offline
Junior Member

Joined: Sat Sep 24, 2005 9:10 am
Posts: 39
Done.


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2006 2:18 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Hmm... it's still giving the old serial number.

Code:
$ dig @70.85.16.76 lecws.com axfr

; <<>> DiG 9.2.5 <<>> @70.85.16.76 lecws.com axfr
; (1 server found)
;; global options:  printcmd
lecws.com.              86400   IN      SOA     ns1.lecws.com. root.lecws.com. 2005123001 10800 120 604800 86400


If need be, stop named completely then start it up, after making sure the new serial number is indeed in the zone file.

I wanted to rule out cached stuff from a possible earlier goof, which is why we're doing the serial number update thing. If it still looks odd even after the serial number update, there is an additional trick to try. But, first things first. :)


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2006 2:39 am 
Offline
Junior Member

Joined: Sat Sep 24, 2005 9:10 am
Posts: 39
Done. I stopped named and then started it up again.


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2006 2:48 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Now the entire zone doesn't exist at all. :)

Sounds like a possible syntax error somewhere in the zone file causing named to refuse to load the zone.

Check your log files for any messages from named.

If you have a webserver, could you post the contents of named.conf and lecws.com zone file? Or send them to me in private message?

Running a nameserver is normally not this hard. :) I think you've got something really small in either named.conf or zone file that's breaking everything.


Top
   
 Post subject:
PostPosted: Sun Jan 08, 2006 3:08 am 
Offline
Junior Member

Joined: Sat Sep 24, 2005 9:10 am
Posts: 39
Sent you a pm.


Top
   
 Post subject:
PostPosted: Mon Jan 09, 2006 1:39 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
We talked offline and sorted out everything. He also made his setup much more robust. Looks great!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group