Setting up a slave server.
Kevin Darcy
kcd at daimlerchrysler.com
Thu Dec 18 16:53:43 UTC 2003
Sorry, I didn't read your original message carefully enough.
Check that your slave is answering authoritatively for the zone (look
for the AA bit in its responses; issue at least 2 queries for the same
name since the first query may "pass through" an authoritative response
-- with the AA bit set -- from some other server). If your slave is
answering non-authoritatively, it's probably because the zone has
expired, and that's probably because TCP port 53 is blocked, thus
preventing zone transfers.
- Kevin
Allan Leahy wrote:
>It will respond to DNS queries while the master server is running but
>when the master server is not running is stops responding.
>
>-----Original Message-----
>From: Kevin Darcy [mailto:kcd at daimlerchrysler.com]=20
>Sent: Wednesday, December 17, 2003 4:05 PM
>To: bind-users at isc.org
>Subject: Re: Setting up a slave server.
>
>So how did you come to the conclusion that it "is acting like a=20
>forwarding server"? If you're basing that on the "Forwarding source=20
>address is ..." informational message, then be aware that that message=20
>has nothing to do with "forwarding", as you would specify if in=20
>named.conf. It's just the address/port from which it issues queries in=20
>order to resolve names.
>
>=20
>
> - Kevin
>
>
>Allan Leahy wrote:
>
>
>
>>I have a slave server that is acting like a forwarding server. It will
>>
>>
>only work if the master server is up and running. It will download the
>hosts.db and the hosts.rev from the master. This is the what I see when
>I start the named
>
>
>>=20
>>starting. named 8.2.2-P5-plus-CA-2000-20-plus-CA-2001-02
>>setrlimit(max data size): Invalid argument
>>setrlimit(max data size): Invalid argument
>>slave zone "gld.chartercom.com" (IN) loaded (serial 3)
>>slave zone "1.55.10.in-addr.arpa" (IN) loaded (serial 3)
>>Zone "0.0.127.in-addr.arpa" (file named.local): No default TTL set
>>
>>
>using SOA minimum instead
>
>
>>master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1)
>>: hint zone "" (IN) loaded (serial 0)
>>listening on [127.0.0.1].53 (lo0)
>>listening on [10.55.1.2].53 (tu0)
>>
>>
>>Forwarding source address is [0.0.0.0].4000
>>Ready to answer queries.
>>check_hints: A records for J.ROOT-SERVERS.NET class 1 do not match
>>
>>
>hint records
>
>
>>Internet name service started
>>
>>=20
>>=20
>>=20
>>=20
>> Here are the named.local, and named.conf files
>>=20
>>Any Suggestions?
>>=20
>>named.local
>>;
>>; BIND data file for local loopback interface.
>>;
>>@ IN SOA sheboygan.gld.chatercom.com
>>
>>
>postmaster.sheboygan.gld.chatercom.com (
>
>
>> 1 ; Serial
>> 3600 ; Refresh
>> 300 ; Retry
>> 3600000 ; Expire
>> 3600 ) ; Minimum
>> IN NS sheboygan.gld.chatercom.com
>>1 IN PTR localhost.gld.chartercom.com
>>localhost.gld.chartercom.com IN A 127.0.0.1
>>=20
>>=20
>>// named.conf
>> options {
>> directory "/etc/namedb/";
>> };
>> zone "gld.chartercom.com" {
>> type slave;
>> file "hosts.db";
>> masters {
>> 10.55.1.253;
>> };
>> };
>> zone "1.55.10.in-addr.arpa" {
>> type slave;
>> file "hosts.rev";
>> masters {
>> 10.55.1.253;
>> };
>> };
>> zone "0.0.127.in-addr.arpa" {
>> type master;
>> file "named.local";
>> };
>> zone "." {
>> type hint;
>> file "named.ca";
>> };
>>
>>=20
>>=20
>>
>>
>>
>>
>>=20
>>
>>
>>
>
>
>
>
>
>
>
>
>
More information about the bind-users
mailing list