LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 02-26-2007, 09:20 PM   #1
mr_empty
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Rep: Reputation: 15
dns problem


hi all, i have installed fc5 used for dns server but it didn't work for dns. there are number of config file for zones. the questions what is the use of serial number? does it matter the the dns services?(i only use one dns server.) the second problem is, there are some default zone file, should i modify them? thanks all~
 
Old 02-27-2007, 02:04 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
dns serial numbers are like a version number. when you update the zone, you should increase the serial so other servers nkow who is mnore up to date. a single dns server won't care about this though.
 
Old 02-27-2007, 03:05 AM   #3
rcase5
Member
 
Registered: Apr 2004
Distribution: Fedora & Debian
Posts: 38

Rep: Reputation: 15
What kind of DNS are you attempting?

There are two kinds of DNS.

There is authoratative DNS. This is the kind of DNS you use when you host your own domain and you want control over your domain. There are a lot of things to consider when doing this. Are you hosting your own email as well? Have you changed the NS records with your domain's registrar to make it take effect. If you don't know about these types of things, you probably shouldn't be hosting your own authoratative DNS. Leave it to someone who knows how DNS works (like your ISP or web host). I don't mean to be rude, but you can really shoot yourself (and possibly other people, too) in the foot if you do it wrong.

There is recursive DNS. This is DNS that handles simple resolution for hostnames on the internet. When you are setting up your IP stack, and you enter your DNS settings, this is the type of DNS it is referring to. Running your own recursive DNS can actually be very rewarding and can also speed up your internet activity significantly, especially if your ISP's servers are slow as molases. I used to have recursive DNS running on an old 486 that was infinitely faster than the DNS my ISP was running at the time. Best of all, recursive DNS will, at worst, prevent you from browsing the internet; it won't prevent other people from visiting any web site you might be running.

To answer your question, the serial number in the SOA record (which stands for Start Of Authority) is like a version number for your DNS (like acid_kewpie said). If you are running authoratative DNS, and you have a master DNS and slave DNS servers, it signals your slave DNS servers that there has been a change in your DNS records, so your slave DNS servers know that they need to get a new copy of the domain record for your domain from the master server. I think it might also allow recursive DNS servers know if there has been a change in the DNS records of a given domain so that, if a record has expired but the serial number has not changed, it doesn't necessarily have to go back and make a query to the authoratative DNS servers. It's basically a mechanism to cut down on unnecessary DNS traffic and load on authoratative DNS servers. It is for this reason that, if you make a change to your DNS, you should ALWAYS increment the serial number. The common convention for serial numbers is YYYYMMDDXX, where YYYY is the year, MM is the month, DD is the day, and XX is a sequence number. So if today is Feb 27, 2007, and it's the first modification I made that day, the serial number I would use would be 2007022700, and then if I made another change on that same day, it would then be 2007022701, etc.
 
Old 02-27-2007, 06:19 AM   #4
slybob
Member
 
Registered: Aug 2006
Location: Brighton - UK
Distribution: Ubuntu 6.06
Posts: 34

Rep: Reputation: 15
howto

hey, this howto taught me all I know. I now run an authoritative and recursive nameserver based off bind 8. happy sailing :-)

http://langfeldt.net/DNS-HOWTO/BIND-8/DNS-HOWTO-3.html

P.S.

I did all this so I could use wildcard DNS
Slybob
 
  


Reply

Tags
dns


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dns problem pansarevaibhav Linux - Newbie 1 09-15-2006 02:08 PM
DNS problem? pete1234 *BSD 2 09-19-2005 02:04 PM
Possible DNS problem? GraemeK Linux - Networking 3 05-17-2004 07:52 AM
DNS problem merlin371 Linux - Networking 11 07-28-2003 05:58 PM
DNS problem oldtechy Linux - Networking 2 12-30-2002 02:51 PM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
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