Sample Header Ad - 728x90

PowerDNS not resolving host computer

5 votes
1 answer
2238 views
I just finished setting up PowerDNS to avoid having to remember all my IP addresses and it seems to work pretty fine, most host names resolve just fine but not the one running PowerDNS (named musicbox, IP 192.168.1.22). When I try to ping it from any other computer I only get an error message about unknown host. Using dig I get the correct IP address. Running ping musicbox.local also works fine but not ping musicbox. #dig musicbox.local ; > DiG 9.9.5-3-Ubuntu > musicbox.local ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45271 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;musicbox.local. IN A ;; ANSWER SECTION: musicbox.local. 3600 IN A 192.168.1.22 ;; Query time: 5 msec ;; SERVER: 192.168.1.22#53(192.168.1.22) ;; WHEN: Sun Dec 07 19:54:23 CET 2014 ;; MSG SIZE rcvd: 48 This is my bindbackend.conf: one "local" { type master; file "/etc/powerdns/bind/local.zone"; allow-update { none; }; }; This is my zone file, local.zone: $ORIGIN local ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns.local hostmaster.local ( 1; serial 1d; refresh 2h; retry 4w; expire 1h; minimum time-to-live ) IN NS ns IN A 192.168.1.22 musicbox IN CNAME ns haddock IN A 192.168.1.29 tintin IN A 192.168.1.68 snowy IN A 192.168.1.99 castafiore IN A 192.168.1.73 All host names but musicbox resolve just fine. How do I fix that annoying last piece of my puzzle?
Asked by Zarkov (61 rep)
Dec 7, 2014, 07:28 PM
Last activity: Aug 11, 2025, 08:05 AM