You are not logged in.

#1 2012-01-22 08:43:27

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

dig working, ping not

I'm a bit lost here. After having pdnsd working for weeks it is acting strange lately.

I can use the DNS from any host on the lan, but not local.

dig www.google.com returns

; <<>> DiG 9.8.1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21071
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         90645   IN      CNAME   www.l.google.com.
www.l.google.com.       900     IN      A       74.125.232.116
www.l.google.com.       900     IN      A       74.125.232.114
www.l.google.com.       900     IN      A       74.125.232.115
www.l.google.com.       900     IN      A       74.125.232.112
www.l.google.com.       900     IN      A       74.125.232.113

;; Query time: 40 msec
;; SERVER: 172.16.0.8#53(172.16.0.8)
;; WHEN: Sun Jan 22 09:24:41 2012
;; MSG SIZE  rcvd: 132

but ping www.google.com merely says

ping: unknown host www.google.com

in pdnsd-ctl dump I find

www.google.com.
    01/22 09:24:41    A       (negated)
    01/22 09:24:41    CNAME   www.l.google.com.

/etc/resolv.conf has

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain kingma
nameserver 172.16.0.8
# /etc/resolv.conf.tail can replace this line

the pdns host is 172.16.0.8

And from a windows host it works fine:

Default Server:  UnKnown
Address:  172.16.0.8

> www.google.com
Server:  UnKnown
Address:  172.16.0.8

Non-authoritative answer:
Name:    www.l.google.com
Addresses:  173.194.35.16
          173.194.35.18
          173.194.35.17
          173.194.35.20
          173.194.35.19
Aliases:  www.google.com

Last edited by theking2 (2012-01-22 08:44:39)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2012-01-22 09:28:16

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: dig working, ping not

What sort of network card is it and what does

ip route && ip addr

give you?

Offline

#3 2012-01-23 15:38:28

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: dig working, ping not

hi /dev/zero,

default via 172.16.0.1 dev eth0
172.16.0.0/16 dev eth0  proto kernel  scope link  src 172.16.0.8

and

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4000 qdisc pfifo_fast state UP qlen 1000
    inet 172.16.0.8/16 brd 172.16.255.255 scope global eth0
    inet6 fe80::227:eff:fe08:1726/64 scope link
       valid_lft forever preferred_lft forever

archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

Board footer

Powered by FluxBB