Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Stacey Marshall Newsgroups: comp.protocols.dns.bind Subject: Re: Subdomain Issue Date: Tue, 8 Nov 2011 22:26:17 +0000 Lines: 213 Approved: bind-users@lists.isc.org Message-ID: References: NNTP-Posting-Host: lists.isc.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd4c1c0fb7aa204b140a835 X-Trace: usenet.stanford.edu 1320791211 21583 149.20.64.75 (8 Nov 2011 22:26:51 GMT) X-Complaints-To: action@cs.stanford.edu To: bind-users@lists.isc.org Return-Path: X-Original-To: bind-users@lists.isc.org Delivered-To: bind-users@lists.isc.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OUcPH6gWBHYQu4ZRDo2IyB9b4j7Iq9p6GF9BFKS9aHg=; b=lK4vbzqlO5k50O816Hrn/4frW/cKaTOd8wwcPTLaPomXNv36MFCl823wW7oPhLpchE ietKL50vuCq3RUClTEQBo1gve6yJrq5cW4RcPMxlbn5fBY2ZjmD5E3a+f5UAgPA7LbcA 3FBwzqP4z0kZDkmtEhYg1n4XM6Pr40On6oW7k= In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.ams1.isc.org X-BeenThere: bind-users@lists.isc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: BIND Users Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: x330-a1.tempe.blueboxinc.net comp.protocols.dns.bind:62 --000e0cd4c1c0fb7aa204b140a835 Content-Type: text/plain; charset=ISO-8859-1 Responses in-line. On 8 November 2011 14:57, trm asn wrote: > Dear List, > > Please help me out to investigate the below scenario . > > I have one domain "example.com" > > $TTL 300 > @ IN SOA ns4.example.com. postmaster.example.com. ( > The @ above says to use $ORIGIN, which by default is set to the name specified to the name statement in 'named.conf'. It would be helpful to provide that file and the version of bind your using (named -v). > 2011110806 ; Serial Number > Trust serial number is being incremented after each change and before each 'rndc reload example.com'. > 10800 ; Refresh after 3 hours > 3600 ; Retry after 1 hour > 604800 ; Expire after 1 week > 300 ) ; Minimum TTL of 1 day > > ; Name servers > IN NS ns4.example.com. > IN NS ns2.example.com. > IN NS ns1.example.com. > > IN A 203.39.45.19 > IN MX mail.goole.com. > All records above have been for "example.com.". There are three advertised nameservers, one of which is the same as in the SOA. But note none of them have been given an address record. How is a server to contact them? How is this one to notify them? www IN CNAME example.com. > a IN A 203.39.45.20 > b IN A 203.39.45.21 > *test IN NS ns1973.hostgator.com. > test IN NS ns1974.hostgator.com.* > Test is sub-domain delegated to two external hosts. As their domain names are different the address for those should not be list in this zone file; indeed they are not. > named-checkzone example.com named.example.com.forward < No Error > > > The moment I have done the "rndc reload example.com", the domain and all > subdomain were became not resolvable. > > After commenting out below entries & rndc reload , all back to normal. > *;test IN NS ns1973.hostgator.com. > ;test IN NS ns1974.hostgator.com.* > > Please help me out on this issue. > > I wonder if the server is wondering how its going to contact those other name servers to tell them the changes. But then why does changing it back, removing the child delegation then work? I'd like to see your dig query and response before and afterwards, but first you might want to help yourself by running named in the foreground with debugging enabled to see what's happening when you start your server, query it, reload the zone and query it again. Run 'named -g -d 3' for starters and see what that gives you. Stace > /\ > Tarak > > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > --000e0cd4c1c0fb7aa204b140a835 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Responses in-line.

On 8 November 2011 14:= 57, trm asn <t= rm.nagios@gmail.com> wrote:
example.com"

$TTL 300
@=A0=A0=A0=A0=A0=A0 IN=A0=A0= =A0=A0=A0 SOA=A0=A0=A0=A0 ns4.example.com. postmaster.example.com. (

The @ above says to use $ORIGIN, which by default is = set to=A0 the name specified to the name statement in 'named.conf'.= =A0 It would be helpful to provide that file and the version of bind your u= sing (named -v).

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0
=A0 2011110806=A0=A0=A0=A0=A0 ; Serial Number
=

Trust serial number is being incremented after each c= hange and before each 'rndc reload examp= le.com'.
=A0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 10800=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ; Refresh after 3= hours
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 3600=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ; Retr= y after 1 hour
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 604800=A0=A0=A0=A0=A0=A0=A0=A0=A0 ; Expire after 1 week<= br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 300 )=A0=A0=A0=A0=A0=A0=A0=A0 ; Minimum TTL of 1 day
=

=A0
; Name servers
=A0=A0=A0=A0=A0=A0=A0 IN=A0=A0=A0=A0=A0 NS=A0=A0=A0= =A0=A0 ns4.example.co= m.
=A0=A0=A0=A0=A0=A0=A0 IN=A0=A0=A0=A0=A0 NS=A0=A0=A0=A0=A0 ns2.example.com.
=A0=A0=A0=A0=A0=A0=A0 IN=A0=A0=A0=A0=A0 NS=A0=A0=A0=A0=A0 ns1.example.com.

=A0=A0=A0 = =A0=A0=A0 IN=A0=A0=A0 A=A0=A0=A0 203.39.45.19
=A0=A0=A0 =A0=A0=A0 IN=A0= =A0=A0 MX=A0=A0=A0 mai= l.goole.com.

All records above have been for "example.com.".=A0 There are three advertis= ed nameservers, one of which is the same as in the SOA.=A0 But note none of= them have been given an address record.=A0 How is a server to contact them= ?=A0 How is this one to notify them?

www=A0=A0=A0 =A0=A0=A0 IN=A0=A0=A0 CNAME=A0=A0=A0 example.com.
a=A0=A0=A0 =A0=A0=A0 IN=A0=A0=A0 A=A0=A0=A0 203.39.45.20
b=A0=A0=A0 =A0= =A0=A0 IN=A0=A0=A0 A=A0=A0=A0 203.39.45.21
test=A0=A0=A0 IN=A0=A0=A0 = NS=A0=A0=A0 ns19= 73.hostgator.com.
test=A0=A0=A0 IN=A0=A0=A0 NS=A0=A0=A0 ns1974.hostgator.com.

Test is sub-domain delegated to two external ho= sts.=A0 As their domain names are different the address for those should no= t be list in this zone file; indeed they are not.

=A0
named-checkzone=A0 example.com named.example.com.forward < No Error


The moment I have done the "rndc reload example.com", the domai= n and all subdomain were became not resolvable.

After commenting out below entries & rndc reload , all back to norm= al.
;test=A0=A0=A0 IN=A0=A0=A0 NS=A0=A0=A0 ns1973.hostgator.com.
;test=A0=A0=A0 IN=A0=A0=A0 NS=A0=A0=A0 ns1974.hostgator.com.


Please help me = out on this issue.


I wonder if the serve= r is wondering how its going to contact those other name servers to tell th= em the changes.=A0 But then why does changing it back, removing the child d= elegation then work?

I'd like to see your dig query and response before and afterwards, = but first you might want to help yourself by running named in the foregroun= d with debugging enabled to see what's happening when you start your se= rver, query it, reload the zone and query it again.=A0 Run 'named -g -d= 3' for starters and see what that gives you.

Stace
https://lists.isc.org/mailman/listinfo/bind-users to = unsubscribe from this list

bind-users mailing list
bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
=

--000e0cd4c1c0fb7aa204b140a835--