Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DNS Stop Responding after one line was added

Posted on 2009-07-05
2
Medium Priority
?
179 Views
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
$ORIGIN domainname.edu.
$TTL	14400
@	IN  	SOA   servername.domainname.edu.                   staff.domainname.edu. (
		; 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 kbp.domainname.edu 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:
 
Forentdomain.com.   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 
Forentdomain.com.   IN   A  < IP hostess outside our premises>
kbp                 IN   CNAME      Forentdomain.com.
====why the forentdomain.com.  works on theeft side of the file? it should not be at the right side?????======

Open in new window

0
Comment
Question by:Jorge-123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

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

You dont need this line:
$ORIGIN domainname.edu.

Please modify the values such as these:


$TTL    7200
@       IN      SOA   servername.domainname.edu.                   staff.domainname.edu. (
                       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.



 
0
 

Author Comment

by:Jorge-123
ID: 24781033
KeremE:
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 db.domainame.edu 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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

719 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