How do I list what dns servers are being searched for things that need to do dns searches?
It doesn't seem like what I have in resolv.conf
is being used, So i want to troubleshoot and step one of that would be to have the system print out what servers it is using.
Everything I found so far assumes I have network manager installed, but I do not, and so nmcli
or other such commands would not work.
Linux linuxtest 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux
resolv.conf
(no "e"). Why do you think it's not being used? – BowlOfRed Sep 29 '17 at 05:21man nslookup
? – Philippos Sep 29 '17 at 05:35dnstrace
. There are other, similar tools floating around, of varying quality. – Satō Katsura Sep 29 '17 at 07:27host
has a flag which shows, what you want. – peterh Sep 29 '17 at 20:41