Re: resolv.conf, bind9 and unresolvable local address
- From: peter pilsl <pilsl@xxxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 11:10:43 +0100
Burkhard Ott wrote:
Am Tue, 25 Mar 2008 12:29:25 +0100 schrieb peter pilsl:
thnx and your are right. I changed the zone-file but it did not solve my original problem.
Try the following:
host $NAME_from_your_zone $IP_of_your_DNS
Do you get a correct answer, if so use tcpdump and check that you get the
right DNS.
thxn for your answer. I tried what you recommended and to make it short: I didnt get any new information. host-command gives correct answers, but when doing a "ping imap.local" my DNS or another DNS isnt even queried (tcpdump on lo and eth0) !!
here my outputs. I would be very happy if you could look over them to see if I missed something. thnx.
host gives me the correct answer in any settings:
# host imap.local
imap.local is an alias for phoenix.local.
phoenix.local has address 10.1.1.214
# host imap.local 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:
imap.local is an alias for phoenix.local.
phoenix.local has address 10.1.1.214
# host imap.local 10.1.1.214
Using domain server:
Name: 10.1.1.214
Address: 10.1.1.214#53
Aliases:
imap.local is an alias for phoenix.local.
phoenix.local has address 10.1.1.214
if running
#tcpdump -i lo port 53
I see the queries:
12:03:31.412303 IP localhost.33026 > localhost.domain: 22783+ A? imap.local. (28)
12:03:31.412682 IP localhost.domain > localhost.33026: 22783* 2/1/0 CNAME phoenix.local., (84)
12:03:31.413606 IP localhost.33027 > localhost.domain: 54842+ AAAA? phoenix.local. (31)
12:03:31.413810 IP localhost.domain > localhost.33027: 54842* 0/1/0 (81)
12:03:31.413976 IP localhost.33028 > localhost.domain: 48801+ MX? phoenix.local. (31)
12:03:31.414089 IP localhost.domain > localhost.33028: 48801* 0/1/0 (81)
when I run
#ping imap
I see my server querying for imap.local !!!
12:04:07.251898 IP phoenix.local.33028 > phoenix.local.domain: 24422+ A? imap.local. (28)
12:04:07.252240 IP phoenix.local.domain > phoenix.local.33028: 24422* 2/1/0 CNAME phoenix.local., (84)
12:04:07.252579 IP phoenix.local.33028 > phoenix.local.domain: 52112+ PTR? 214.1.1.10.in-addr.arpa. (41)
12:04:07.252754 IP phoenix.local.domain > phoenix.local.33028: 52112* 1/1/1 PTR[|domain]
12:04:08.257814 IP phoenix.local.33028 > phoenix.local.domain: 10046+ PTR? 214.1.1.10.in-addr.arpa. (41)
12:04:08.258095 IP phoenix.local.domain > phoenix.local.33028: 10046* 1/1/1 PTR[|domain]
and when I run
#ping imap.local
no traffic at all on lo nor on eth0 - not on port 53 and not on any other port !!!
I just dont get this !! This is kind of weird !! and starts to drive my crazy !!
thnx,
peter
.
- Follow-Ups:
- Re: resolv.conf, bind9 and unresolvable local address
- From: Burkhard Ott
- Re: resolv.conf, bind9 and unresolvable local address
- References:
- resolv.conf, bind9 and unresolvable local address
- From: peter pilsl
- Re: resolv.conf, bind9 and unresolvable local address
- From: Burkhard Ott
- Re: resolv.conf, bind9 and unresolvable local address
- From: peter pilsl
- Re: resolv.conf, bind9 and unresolvable local address
- From: Burkhard Ott
- resolv.conf, bind9 and unresolvable local address
- Prev by Date: Re: Two Network cards
- Next by Date: Re: SMTP timeout after DATA from <server>
- Previous by thread: Re: resolv.conf, bind9 and unresolvable local address
- Next by thread: Re: resolv.conf, bind9 and unresolvable local address
- Index(es):
Relevant Pages
|