Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dns and dial on demand

0 views
Skip to first unread message

Mark_A...@isc.org

unread,
May 12, 1999, 3:00:00 AM5/12/99
to

You problem is due to default search lists in the resolvers.
Depending apon the age of the resolver you may be able to
override the default search list with a search directive.

e.g.
search infosynergy.com.au

With a domain of infosynergy.com.au the default search list is

infosynergy.com.au com.au

You also need to have a valid root.cache and the serial number
in the SOA record below is to big to fit into 32 bits. Use
YYYYMMDDVV not YYYYMMDDVVVV.

Also just saying BIND 8 and not which BIND 8 version it is makes
it hard to give more precise answers.

Mark


> hi all,
> may i start by apologising for the length of this message but i wanted
> to
> make sure
> all the info was here so maybe someone here can help me with this?
>
> the situation:
> im running sendmail on an SCO5.0.4 unix machine, its got a dial on dema
> nd
> internet
> connection (router with net address translation) and is configured to
> process local mail
> every 5 mins and inet mail every 4 hours. to do this i had to setup bind 8
> on this side of
> the dial on demand link to resolve namelookups done by sendmail for the
> processing of local
> mail (local domain name dls.com.au) so as not to bring up the link every 5
> mins.
>
> what i did:
> i configured bind 8 as the primary server for our domain (even though
> where not
> really) and forwarders so it can resolve all other queries. attached is
> the setup of my
> relevant files
>
> what the problem is:
> when i start named it starts fine, about 2 mins after it starts it brin
> gs
> the link up
> and this repeats forever. it doesnt bringup the link for internal lookups
> (this is good) but
> the link is being brought up every 2 mins or so (this is bad) following
> are the errors in
> the log that appear to be the problem bringin up the link. as you can see
> its appending
> .com.au and .dls.com.au to the end of the name for some reason, even
> though i limited the search
> string to only dls.com.au.. like it mentioned in the orielly and assoc.
> book 'dns and bind'
> any help would be greatly appreciated...
>
> syslog:
> May 12 14:55:51 dlssvr named[12352]: No root nameservers for class IN
>
> May 12 15:05:55 dlssvr named[12352]: bad referral (com.au !<
> dlssvr.dls.com.au.c
> om.au)
>
>
> named.run:
> ns_req(from [127.0.0.1].3485)
>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12
>
> ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; dlssvr.dls.com.au.com.au, type = A, class = IN
>
> req: nlookup(dlssvr.dls.com.au.com.au) id 12 type=1 class=1
>
> req: found 'dlssvr.dls.com.au.com.au' as 'com.au' (cname=0)
>
> np_parent(0x0) couldn't find root entry
>
> findns: np 0x80b70fc 'com'
>
> findns: np 0x80b70e0 'au'
>
> np_parent(0x0) couldn't find root entry
>
> findns: No root nameservers for class IN?
>
> No root nameservers for class IN
>
> ns_forw()
>
> qnew(0x80b5c48)
>
> nslookup(nsp=0x80476e0, qp=0x80b5c48, "dlssvr.dls.com.au.com.au")
>
> nslookup: 0 ns addrs total
>
> schedretry(0x80b5c48, 30 sec)
>
> evSetTimer(ctx 0x80847d8, func 0x8056a20, uap 0, due 926484981.000000000,
> inter
> 0.000000000)
>
> forw: forw -> [203.21.104.33].53 ds=7 nsid=3196 id=12 -1ms retry 30sec
>
> pselect(24, 0xf00080, 0x0, 0x0, 29.310000000)
>
> select() returns 1 (err: none)
>
> Dispatch.File: fd 7, mask 0x1, func 0x8058de0, uap 0
>
> datagram from [203.21.104.33].53, fd 7, len 106; now Wed May 12 14:55:52
> 1999
>
> ns_req(from [203.21.104.33].53)
>
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3196
>
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; dlssvr.dls.com.au.com.au, type = A, class = IN
>
> com.au. 1D IN SOA munnari.OZ.au.
> hostmaster.munnari.OZ.au.
> (
>
> 1999051213 ; serial
>
> 2H ; refresh
>
> 1H ; retry
>
> 5w6d16h ; expiry
>
> 1D ) ; minimum
>
>
>
> qfindid(3196) -> 0x80b5c48
>
> Response (USER NORMAL -) nsid=3196 id=12
>
> rrextract: dname com.au type 6 class 1 ttl 86400
>
> rrsetupdate: com.au
>
> rrsetcmp: no records in database
>
> db_update(com.au, 0x80b7988, 0x80b7988, 0, 031, 0x8084bb8)
>
> np_parent(0x0) couldn't find root entry
>
> db_update: adding 0x80b7988
>
> rrsetupdate: com.au 0
>
> ncache: dname dlssvr.dls.com.au.com.au, type 1, class 1
>
> db_update(dlssvr.dls.com.au.com.au, 0x80b7270, 0x80b7270, 0, 031,
> 0x8084bb8)
> savehash GROWING to 2
>
> savehash GROWING to 2
>
> savehash GROWING to 2
>
> db_update: adding 0x80b7270
>
> ncache succeeded: [dlssvr.dls.com.au.com.au SOA IN] rcode:3 ttl:600
>
> resp: leaving NO: auth = 1
>
> send_msg -> [127.0.0.1].3485 (UDP 22) id=12
>
> qp 0x80b5c48 q_id: 3072 q_nsid: 31756 q_msglen: 42
>
> q_naddr: 0 q_curaddr: 0
>
> q_next: 0 q_link: 0
>
> qremove(0x80b5c48)
>
> unsched(0x80b5c48, 12)
>
> Qfree(0x80b5c48)
>
> prime_cache: priming = 0
>
> pselect(24, 0xf00080, 0x0, 0x0, 3452.280000000)
>
> select() returns 1 (err: none)
>
> Dispatch.File: fd 22, mask 0x1, func 0x8058de0, uap 0x80b77fc
>
> datagram from [127.0.0.1].3486, fd 22, len 35; now Wed May 12 14:55:52 1999
>
>
> ns_req(from [127.0.0.1].3492)
>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11
>
> ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; dlssvr.dls.com.au.dls.com.au, type = A, class = IN
>
> req: nlookup(dlssvr.dls.com.au.dls.com.au) id 11 type=1 class=1
>
> req: found 'dlssvr.dls.com.au.dls.com.au' as 'dls.com.au' (cname=0)
>
> findns: np 0x80b711c 'dls'
>
> findns: SOA found
>
> req: leaving (dlssvr.dls.com.au.dls.com.au, rcode 3)
>
> make_rr(dls.com.au, 80b7178, 8047c2a, 454, 1) 61 zone 1 ttl 4294967295
>
> free_nsp: dlssvr.dls.com.au rcnt 1
>
> ns_req: answer -> [127.0.0.1].3492 fd=22 id=11 size=104
>
> pselect(24, 0xf00080, 0x0, 0x0, 3150.970000000)
>
> select() returns 1 (err: none)
>
> Dispatch.File: fd 22, mask 0x1, func 0x8058de0, uap 0x80b77fc
>
> datagram from [127.0.0.1].3493, fd 22, len 42; now Wed May 12 15:00:53 1999
>
>
> ns_req(from [127.0.0.1].3493)
>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12
>
> ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; dlssvr.dls.com.au.com.au, type = A, class = IN
>
> req: nlookup(dlssvr.dls.com.au.com.au) id 12 type=1 class=1
>
> req: found 'dlssvr.dls.com.au.com.au' as 'dlssvr.dls.com.au.com.au'
> (cname=0)
> wanted(0x80b7270, IN SOA) [IN SOA]
>
> make_rr(dlssvr.dls.com.au.com.au, 80b7270, 8047c26, 458, 1) 66 zone 0 ttl
> 926485
> 552
>
> finddata: added 1 class 1 type 6 RRs
>
> NXDOMAIN aa = 1
>
> ns_req: answer -> [127.0.0.1].3493 fd=22 id=12 size=106
>
> pselect(24, 0xf00080, 0x0, 0x0, 3150.960000000)
>
> select() returns 1 (err: none)
>
> Dispatch.File: fd 22, mask 0x1, func 0x8058de0, uap 0x80b77fc
>
> datagram from [127.0.0.1].3494, fd 22, len 35; now Wed May 12 15:00:53 1999
>
>
> resolv.conf:
> search dls.com.au.
> hostresorder local bind
> nameserver 192.168.0.10
>
> named.conf:
> options {
> directory "/etc/named.d";
> forwarders {
> 203.21.104.33;
> 203.21.104.34;
> };
> forward only;
> };
>
> zone "dls.com.au." {
> type master;
> file "named.hosts";
> };
>
> zone "0.168.192.in-addr.arpa." {
> type master;
> file "named.rev";
> };
>
> zone "0.0.127.in-addr.arpa." {
> type master;
> file "named.local";
> };
>
> named.local:
> $INCLUDE named.soa
> 1 IN PTR localhost.
>
> named.rev:
> $INCLUDE named.soa
> 1 IN PTR routerint.dls.com.au.
> 10 IN PTR dlssvr.dls.com.au.
> 20 IN PTR neville.dls.com.au.
> 21 IN PTR sue.dls.com.au.
> 22 IN PTR holly.dls.com.au.
> 23 IN PTR melanie.dls.com.au.
> 24 IN PTR mark.dls.com.au.
> 25 IN PTR debbie.dls.com.au.
> 26 IN PTR darren.dls.com.au.
> 27 IN PTR anthony.dls.com.au.
> 28 IN PTR terry.dls.com.au.
> 29 IN PTR internet.dls.com.au.
> 30 IN PTR max.dls.com.au.
>
> named.hosts:
> $INCLUDE named.soa
>
> @ IN MX 10 dlssvr
> routerint IN A 192.168.0.1
> dlssvr IN A 192.168.0.10
> IN MX 10 dlssvr
> neville IN A 192.168.0.20
> sue IN A 192.168.0.21
> holly IN A 192.168.0.22
> melanie IN A 192.168.0.23
> mark IN A 192.168.0.24
> debbie IN A 192.168.0.25
> darren IN A 192.168.0.26
> anthony IN A 192.168.0.27
> terry IN A 192.168.0.28
> internet IN A 192.168.0.29
> max IN A 192.168.0.30
>
> named.soa:
> @ IN SOA dlssvr.dls.com.au. root.dlssvr.dls.com.au. (
> 199701141820 ; Serial
> 9999999 ; Refresh
> 9999999 ; Retry
> 9999999 ; Expire
> 9999899 ) ; Minimum
> IN NS dlssvr.dls.com.au.
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org


0 new messages