Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 21:48:38 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        questions <questions@freebsd.org>
Subject:   Strange Name Server Problem
Message-ID:  <CAAdA2WM6_HW5jZZRZ4SE9ATLFgUDucYaPF_OSprrVOXjBZQ5yQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have a server running FreeBSD 11.0-STABLE.

I am a little stumped why my local caching bind instance doesn't answer
queries. I have then opted to run bind on port 5353 and unbound on port 53.
I still experience the same problem!

root@waridi:/usr/local/etc/unbound # sockstat -l | grep named
bind     named      50877 20 tcp4   192.168.27.254:5353   *:*
bind     named      50877 21 tcp4   127.0.0.1:5353        *:*
bind     named      50877 22 tcp4   127.0.0.1:953         *:*
bind     named      50877 23 tcp6   ::1:953               *:*
bind     named      50877 512 udp4  192.168.27.254:5353   *:*
bind     named      50877 513 udp4  192.168.27.254:5353   *:*
bind     named      50877 514 udp4  192.168.27.254:5353   *:*
bind     named      50877 515 udp4  127.0.0.1:5353        *:*
bind     named      50877 516 udp4  127.0.0.1:5353        *:*
bind     named      50877 517 udp4  127.0.0.1:5353        *:*
root@waridi:/usr/local/etc/unbound # sockstat -l | grep unb
unbound  unbound    51296 3  udp4   127.0.0.1:53          *:*
unbound  unbound    51296 4  tcp4   127.0.0.1:53          *:*
unbound  unbound    51296 5  udp4   192.168.27.254:53     *:*
unbound  unbound    51296 6  tcp4   192.168.27.254:53     *:*
unbound  unbound    51296 10 udp4   *:29712               *:*
unbound  unbound    51296 11 udp4   *:28511               *:*
unbound  unbound    51296 13 udp4   *:35511               *:*
unbound  unbound    51296 14 udp4   *:19644               *:*
unbound  unbound    51296 15 udp4   *:22549               *:*
unbound  unbound    51296 16 udp4   *:30714               *:*
unbound  unbound    51296 17 udp4   *:11907               *:*
unbound  unbound    51296 18 udp4   *:50834               *:*
root@waridi:/usr/local/etc/unbound #

Name resolution takes so long because it has to happen via the ISPs DNS
Servers, which are the 3rd and 4th options in /etc/resolv.conf

I am actually lost as to where to start looking.





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WM6_HW5jZZRZ4SE9ATLFgUDucYaPF_OSprrVOXjBZQ5yQ>