yclywz41 DNS Server was not starting. When I added the lines local-address=127.0.0.1 local-port=53 in pdns.conf, it started working.