Skip to main content

Questions tagged [dns]

For questions pertaining to Domain Name System (DNS), a service that provides the resolution of host names to IP addresses. Use this tag when you are troubleshooting DNS issues, configuring a DNS resolver or server, or are trying to understand DNS's involvement in your situation.

633 votes
29 answers
987k views

What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
Eugene Yarmash's user avatar
368 votes
18 answers
1.2m views

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
Seán Hayes's user avatar
  • 4,581
100 votes
4 answers
290k views

I'm connected to local area network with access to the Internet through gateway. There is DNS server in local network which is capable of resolving hostnames of computers from local network. I would ...
Piotr Dobrogost's user avatar
154 votes
3 answers
306k views

I tried to check what my DNS resolver is and I noticed this: user@ubuntu:~$ cat /etc/resolv.conf nameserver 127.0.0.53 options edns0 I was expecting 192.168.1.1, which is my default gateway, my ...
HelloWorld's user avatar
  • 1,815
22 votes
3 answers
76k views

On Linux Debian 9 I am able to resolve a specific local domain e.g. my.sample-domain.local using some commands like nslookup or host, but not with some other commands like ping or the Postgres client ...
TPPZ's user avatar
  • 647
5 votes
1 answer
12k views

My setup is getting more complex, generally I tend to divide things in pieces and assemble them together by myself. But it seems this time I need more help to get the whole gears working together. ...
user3450548's user avatar
  • 3,104
2 votes
2 answers
8k views

When I am using Tor, and not using the Tor bundle there is a possibility of DNS leaks in certain situations. What can be done to minimize it? Is it possible to resolve DNS via Tor?
Rui F Ribeiro's user avatar
429 votes
15 answers
1.4m views

How can I check which DNS server am I using (in Linux)? I am using network manager and a wired connection to my university's LAN. (I am trying to find out why my domain doesn't get resolved)
Grzenio's user avatar
  • 6,127
7 votes
4 answers
11k views

I want to use certain DNS servers on my Debian, regardless of whatever I get through DHCP. I'm trying to configure dhclient to ignore those, but I can't seem to get it to work. Per advice from this ...
Red's user avatar
  • 1,472
4 votes
1 answer
8k views

I was successfully using a small (20,000 entries) zone file with bind9 server, but today my data provider sent an update which caused the zone file to become 300,000+ entries large (30Mb+). The ...
Kolyunya's user avatar
  • 577
136 votes
5 answers
261k views

How would you go about finding the DNS servers used by systemd-resolved, for troubleshooting purposes? Generally I can use dig and test the DNS servers shown in /etc/resolv.conf. (Or windows - ...
sourcejedi's user avatar
  • 53.6k
79 votes
2 answers
94k views

Why do the commands dig and nslookup sometimes print different results? ~$ dig facebook.com ; <<>> DiG 9.9.2-P1 <<>> facebook.com ;; global options: +cmd ;; Got answer: ;; -&...
pylover's user avatar
  • 3,578
25 votes
5 answers
219k views

I am running Arch Linux on a Raspberry Pi. Suddenly: I am unable to ping to a website. I am unable to access a website from the browser. I have two more computers (all running Arch Linux) connected ...
15 Volts's user avatar
  • 2,169
22 votes
2 answers
27k views

There is something terribly wrong with my current Debian install. Most programs like firefox, nslookup, dig etc. are ignoring entries in /etc/hosts file, actually I use this file for Ad-blocking. an ...
Arnab's user avatar
  • 1,701
14 votes
4 answers
52k views

I am trying to get *.local domains to use the DNS server with vagrant-dns. In order for that to work I set up dnsmasq to run in front of it. NetworkManager is installed but is set to dns=none resolve....
DAB's user avatar
  • 475

15 30 50 per page
1
2 3 4 5
10