DNS error named.service: control process exited, code=exited status=1

I am using Centos Web Panel, everything was just working like it normally should… However the Bind DNS just stopped working out of nowhere. Here is the error code provided: ● named.service – Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2018-04-10 00:02:41 UTC; 4min … Read more

View match-clients works only with subnet, not with single IP address

I’m running Bind on OpenWrt 15.05.1 as DNS server. I wanted to set up multiple view, with different zones. acl “trusted” { 10.0.1.0/24; localhost; localnets; }; acl “blacklisted” { 10.0.1.10; }; options { directory “/tmp”; recursion yes; allow-recursion { trusted; }; allow-transfer { none; }; dnssec-validation auto; forwarders { 8.8.8.8; }; auth-nxdomain no; # conform … Read more

view external: query (cache) denied on bind9/named

Is this an attack? I get a lot of : view external: query (cache) denied in the /var/log/messages Answer No that’s no hack 😉 Obviously Your DNS server isn’t set up well. Try adding nameserver 127.0.0.1 to DNS server’s /etc/resolv.conf and add your subnet (192.168.0.0/24) to /etc/bind/named.conf acl internals { 127.0.0.0/8; 192.168.0.0/24; }; AttributionSource : … Read more

Bind DNS rate-limit and values for responses-per-second and window

In my DNS server’s named.conf I see rate-limit { responses-per-second 5; window 5; }; What does this actually mean? And can it cause DNS clients problems? Is this too tight a configuration? Answer It limits the number of identical responses a single DNS client can get in a second. The window 5 option allows a … Read more

Recursive forwarding Bind DNS server not answering from cache

Problem Statement I have a bind caching and forwarding server that is functioning almost as expected. All queries are forwarded, their TTL is cached. At first blush, everything appeared normal until I was watching the response time never fall below the 150ms of my VPN. Upon performing tcpdump, I found that even though bind was … Read more

Order in which Resource Records(RR) are answered by Bind if Order and preference are Same

I had a query on how the following Records can be ordered on how the Records are configured in the Zone file I have done 2 different Tests I have configured following records in the Zone file e164enum.net with TTL value as 0 2.7.5.2.7.9.2.5.3.1.8.e164enum.net. IN NAPTR 100 10 “u” “E2U+sip” “!^.*$!sip:7895673454@ATLANTA.COM;user=phone!” . 2.7.5.2.7.9.2.5.3.1.8.e164enum.net. IN NAPTR … Read more