Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.protocols.dns.bind > #78

Re: Subdomain Issue

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 Kevin Darcy <kcd@chrysler.com>
Newsgroups comp.protocols.dns.bind
Subject Re: Subdomain Issue
Date Wed, 09 Nov 2011 17:17:57 -0500
Lines 177
Approved bind-users@lists.isc.org
Message-ID <mailman.38.1320877131.68562.bind-users@lists.isc.org> (permalink)
References <CACZSWMrZ-4MYk0ytX0eUOAQTFoRuv=viOBJbzNxAqZ+jNVH10Q@mail.gmail.com> <20111109094543.GA22541@fantomas.sk> <CACZSWMoFj7pvQ287YfhFG6OLOz0nA4OawvjeGdPONk_95_Rf-w@mail.gmail.com>
NNTP-Posting-Host lists.isc.org
Mime-Version 1.0
Content-Type multipart/alternative; boundary="------------040706030404080101060605"
X-Trace usenet.stanford.edu 1320877131 21834 149.20.64.75 (9 Nov 2011 22:18:51 GMT)
X-Complaints-To action@cs.stanford.edu
To bind-users@lists.isc.org
Return-Path <kcd@chrysler.com>
X-Original-To bind-users@lists.isc.org
Delivered-To bind-users@lists.isc.org
X-AuditID 8109a822-b7f316d000000b10-18-4ebafc3595ca
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
In-Reply-To <CACZSWMoFj7pvQ287YfhFG6OLOz0nA4OawvjeGdPONk_95_Rf-w@mail.gmail.com>
X-Brightmail-Tracker H4sIAAAAAAAAA11TbUhTURjubGNdzVN3V53H68q6ZETlbGUUfUqBReBIrKCi9Go3t5y67r1L jX5kH2gLXR8gOcIiEU0qIxNti8phPxKtRoEWIRWV0RdFYPYFnbPd2V3/3vM873ue93nuPZSW eUCxlL1MFsQy3sHpY3VLTDOXpy/57bMu7KqGywLf0rLAhoEXf3SbwPbYlbsFh32/IGasLoi1 vX31Ru+szasM1qcfAsNZbkBRiM5E30edbhCDSyN6NNKhd4NYiqEfAnSn1asPE5mop+sWCBOj AB0LNiqHEYCOetyhLkjPR576UUBqHZ2G/B+faEitp2cj37PWyaROpO3o5OeHSr8B3W98rSN1 Am1CHZ9uh/B4XF/3X1bW8AH06mO9nqwaQ+eiU/15pEdLb0Vf++o04e1moDbPVXASGLyqa72q Ni+e1tIr0JhfDMOpqPvTOW24no/a6wY1avwC0LeDFMlWWMo7F1rMQqUs8uYim1glOQTRXFRe eh3g1Ktj2rgecN8LA6CE0nCJ0PzDZ2WmFpbvrrLxki1fdDkEiUuAwz8xDCfgQpejhGPhbILG T6BlQgW+XMbflJsBF1gwlzTBSS7JaS+yl7ukfJfoCIAUSsclwYEPnVaGLuZloUQQnIIY1guA CoriEOwax1cYRKFYqNxjd8gRGs/d23ITz6mZ0EbT4ZVsPGJUE6qlZkFU221lWDX9/14aKiYA iqk47DnrF/EsOflSyV6sSMfDx8RzXAQNySbDlg8YZCKgSnI6XE9yMEaoaLl+UMUmwfVEhyYd NlfZhEvWCDvPYmKaiiBqrAlmN/ZYmUQV/k+QnQlTRjCbrGKjNUNvbbRg/D0oogD2s5Sox+GX +M8kAz8Tk1MUMOQRwXfkzzAomMqiCVYSi4kKE632HmepwVmmWUJZyryszvJbTTfJUkGVLMcI yETAqCzHCWWMUNFK7CGQsc58pvW4P9j/dKx3yjbftbHMSaahGxtz24ZWb1+b2uC+2ORJbmnp 23rYcMpYUdO8k9t75Km7g73QPKc/dW7vohMvD871nN+loXJyTsjNbzWbvzQFtRk/brxIF4J1 cpI/rWPNrwPP0zdlvtu1mB603L2073ZXw8WcatSzY1VTQmfuaU4n2XjLPK0o8X8BVMTvxuEE AAA=
X-Brightmail-Tracker AAAAAA==
X-Spam-Status No, score=-1.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE, T_RP_MATCHES_RCVD 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 <bind-users.lists.isc.org>
List-Unsubscribe <https://lists.isc.org/mailman/options/bind-users>, <mailto:bind-users-request@lists.isc.org?subject=unsubscribe>
List-Archive <https://lists.isc.org/pipermail/bind-users>
List-Post <mailto:bind-users@lists.isc.org>
List-Help <mailto:bind-users-request@lists.isc.org?subject=help>
List-Subscribe <https://lists.isc.org/mailman/listinfo/bind-users>, <mailto:bind-users-request@lists.isc.org?subject=subscribe>
Xref x330-a1.tempe.blueboxinc.net comp.protocols.dns.bind:78

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 11/9/2011 4:59 PM, trm asn wrote:
>
>
> On Wed, Nov 9, 2011 at 3:15 PM, Matus UHLAR - fantomas 
> <uhlar@fantomas.sk <mailto:uhlar@fantomas.sk>> wrote:
>
>     Now I have only one question:
>
>
>     On 08.11.11 20:27, trm asn wrote:
>
>         The moment I have done the "rndc reload example.com
>         <http://example.com>", the domain and all
>         subdomain were became not resolvable.
>
>
>     what does the named's log say?
>
>     -- 
>
>
> Is there any thing wrong if I declare my zone like this as below...
>
> $TTL 300
> @       IN      SOA ns4.example.com <http://ns4.example.com/>. 
> postmaster.example.com <http://postmaster.example.com/>. (
>                                 2011110806      ; Serial Number
>                                 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 <http://ns4.example.com/>.
>         IN      NS ns2.example.com <http://ns2.example.com/>.
>         IN      NS ns1.example.com <http://ns1.example.com/>.
> *test    IN    NS ns1973.hostgator.com <http://ns1973.hostgator.com/>.
> test    IN    NS ns1974.hostgator.com <http://ns1974.hostgator.com/>.*
>         IN    A    203.39.45.19
>         IN    MX mail.goole.com <http://mail.goole.com/>.
> www        IN    CNAME example.com <http://example.com/>.
> a        IN    A    203.39.45.20
> b        IN    A    203.39.45.21
>
Yeah, that's likely to be a problem. Those "test" lines have 
(inadvertantly?) renamed an A record and your MX record from the name 
"example.com" to the name "test.example.com", and then "hid" them under 
the delegation for test.example.com (since all non-glue records are 
served from the child zone, not the parent; those records would only be 
visible on a zone transfer).

Hopefully you understand that in master-zone syntax, leading whitespace 
"inherits" the last non-whitespace owner name. That's why those 2 
records got implicitly renamed, since putting an owner name of "test" 
above them caused them to inherit that name instead of "@". As a general 
rule, you want to put all of your apex records at the top of the zone 
file, and add new stuff at the end of the zone file, so as to completely 
avoid such whitespace-inheritance "accidents".

                                                                         
                                                                         
                                                             - Kevin

Back to comp.protocols.dns.bind | Previous | Next | Find similar


Thread

Re: Subdomain Issue Kevin Darcy <kcd@chrysler.com> - 2011-11-09 17:17 -0500

csiph-web