DNS Stop Responding after one line was added

Posted on 2009-07-05
Last Modified: 2012-05-07
My wuestion is base on the code below. The DNS server is workng now But I do not understand why.Can somebody outhere give or guide to an explanation what was tha I did to make it work?
Is there any tool to check the systaxtof a DNS file? why it have to be so hard to update a namaed file witout messit up?
; Notes
$TTL	14400
@	IN  	SOA          (
		; Serial Number YYYYMMDDVV
			; Refresh in
			; Retry in
			; Expire in 
			; Minimum TTL of
		IN	NS	Server1
			NS	Server2
 		IN      A       <IP web site hosted out side premises>
www		IN	CNAME	@
Server1		IN	A	<server IP>
Server2		IN	A	<server IP>
; A records and CNAMEs
name		IN	A	ip number 
name		IN	A	ip number 
name		IN	A	ip number 
name		IN	A	ip number 
This was working fine. Now I included the line on; A records and CNMES as:
kbp           IN      A       <IP hostess outside our premises>
And the DNS stopped working (the idea here was that anyone can type n the address browse and will go to the right web site. It was just a redirection
Now After many changes and many questions the line that worked was:   IN   A          < IP hostess outside our premises>
kbp                 IN   CNAME      Forentdomain,com.
So the dns dis not work with
; A records and CNAMEs
name		IN	A	ip number 
name		IN	A	ip number 
name		IN	A	ip number 
name		IN	A	ip number 
kbp         IN    A       <IP hostess outside our premises>
But it worked now with:
name		IN	A	ip number 
name		IN	A	ip number 
name		IN	A	ip number 
name		IN	A	ip number   IN   A  < IP hostess outside our premises>
kbp                 IN   CNAME
====why the  works on theeft side of the file? it should not be at the right side?????======

Open in new window

Question by:Jorge-123
LVL 30

Accepted Solution

Kerem ERSOY earned 500 total points
ID: 24779616
there are several problems with your SOA record, The commented areas should have some values such as:

You dont need this line:

Please modify the values such as these:

$TTL    7200
@       IN      SOA          (
                       2009070401  ; Serial Number YYYYMMDDVV
                       3600              ; Refresh in
                       600                ; Retry in
                       1209600        ; Exipires
                        7200             ; Minimum TTL of

For acceptable values for these values please see RFC-1912 and RFC-2308.

There's no problem with the definition:

kbp           IN      A       <IP hostess outside our premises>

It should normally work but I guess the problems with SOA has prevented it.

For a detailed problem record see your /var/log/messages file.


Author Comment

ID: 24781033
Thanks. I will look for the log files also I will look for the RFC.
When DNS stop responding , the NAMED file started fine but none of the names on the was resolving ( ????) .
Is there a utilility that I can test the named  or the databases inside it  that they are well written ? or theore is a way to test this file before puttingit on a live system?
just plain curuiosity.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
2012 r2 branch office DNS 2 47
ifconfig 4 69
How do the authorative domain name servers know which IP to point to? 9 23
Forest and doamin tree 3 26
If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question