LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-30-2006, 07:24 AM   #1
dula
LQ Newbie
 
Registered: Apr 2006
Posts: 15

Rep: Reputation: 0
DNS - Bind 9 on SUSE 9 loses zone records on startup


I am relatively a newbie to linux.
Im trying to configure a suse linux box as a DNS server using YaST. The problem is whenever I edit zone files and try to add new records, the records disappear everytime i restart/reload bind.

Any help pls!
dula
 
Old 12-03-2006, 11:15 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Sounds like a problem with serial numbers. Close to the top of the zone file, you'll see a serial number in a line that looks something like:
Code:
domain.com     3600    IN      SOA     ns1.domain.com. root.domain.com. (
                2006112200 7200 3600 1209600 3600 )
That 2006112200 is the serial number. The standard is currently 4 digit year, 2 digit month, 2 digits day, then 2 extra digits as a subversion.

Any time you make changes, you need to update the serial number. As long as it is at least 1 number higher, it will be updated. You will probably need to be root to change the domains, unless it is a customized bind install.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure DNS zone file for MX records outside of domain cowanrl Linux - Networking 2 10-30-2006 08:23 AM
BIND DNS -- Zone inescapeableus Linux - Networking 17 10-08-2006 04:46 PM
Is is possible to pull down all DNS zone records? rsmccain Linux - Networking 4 10-04-2006 03:59 PM
Bind Dns zone lhrt Linux - Software 2 09-26-2006 09:45 AM
DNS A records BIND SUSE 10 metallica1973 Linux - Networking 6 09-18-2006 04:28 PM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration