[Pdns-users] Screwy pdns configuration.
Peter Nunn
pnunn at infoteq.com.au
Mon Mar 11 09:10:37 UTC 2013
Hi Peter,
Gladly provide the information, below...
resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.57
nameserver 192.231.203.132
nameserver 192.231.203.3
search infoteq.com.au
(192.168.0.57 being the internal name server).
Ping with this configuration.
ping google.com
PING google.com (74.125.237.68) 56(84) bytes of data.
64 bytes from 74.125.237.68: icmp_req=1 ttl=55 time=51.1 ms
64 bytes from 74.125.237.68: icmp_req=2 ttl=55 time=62.9 ms
64 bytes from 74.125.237.68: icmp_req=3 ttl=55 time=50.1 ms
64 bytes from 74.125.237.68: icmp_req=4 ttl=55 time=50.7 ms
64 bytes from 74.125.237.68: icmp_req=5 ttl=55 time=50.6 ms
^C64 bytes from 74.125.237.68: icmp_req=6 ttl=55 time=51.2 ms
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 25402ms
rtt min/avg/max/mdev = 50.167/52.820/62.992/4.572 ms
each ping responce takes about 4 seconds.
Without the internal NS
ping google.com
PING google.com (74.125.237.105) 56(84) bytes of data.
64 bytes from syd01s12-in-f9.1e100.net (74.125.237.105): icmp_req=1 ttl=55 time=189 ms
64 bytes from syd01s12-in-f9.1e100.net (74.125.237.105): icmp_req=2 ttl=55 time=180 ms
64 bytes from syd01s12-in-f9.1e100.net (74.125.237.105): icmp_req=3 ttl=55 time=195 ms
64 bytes from syd01s12-in-f9.1e100.net (74.125.237.105): icmp_req=4 ttl=55 time=56.4 ms
64 bytes from syd01s12-in-f9.1e100.net (74.125.237.105): icmp_req=5 ttl=55 time=78.1 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 56.443/139.940/195.003/59.866 ms
I get about 2 ping returns per second.
pdns.conf
allow-recursion=127.0.0.1, 192.168.0.0/24
config-dir=/etc/powerdns
daemon=yes
disable-axfr=yes
guardian=yes
launch=gmysql
lazy-recursion=yes
local-address=192.168.0.57
local-port=53
loglevel=5
module-dir=/usr/lib/powerdns
recursor=192.231.203.3
setgid=pdns
setuid=pdns
socket-dir=/var/run
version-string=powerdns
launch=gmysql
gmysql-host=localhost
gmysql-port=
gmysql-dbname=powerdns
gmysql-user=pdns
gmysql-password=asdf123
gmysql-dnssec=no
include=/etc/powerdns/pdns.d
zones configured.
infoteq.com.au
intq.com.au
in-addr.arpa
Thanks for the help.
Peter Nunn
--
Director
InfoTeq Pty Ltd
0412 174 230
03 9017 2707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130311/750ddff0/attachment-0001.html>
More information about the Pdns-users
mailing list