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.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

WSL - DNS not working when connected to VPN

I've used WSL Bash/Ubuntu for several years, but for some reason this problem recently appeared. DNS is unable to resolve any names, both internal and external. The first time I re-installed WSL I ...
0
votes
0answers
13 views

Why does dig +trace take seconds to complete?

The sum of the DNS queries for the following dig command take less than 200 ms to complete, but the entire command takes over 4 seconds. Why does dig +trace take so much longer than the sum of the DNS ...
0
votes
1answer
33 views

Trying to understand the /etc/resolv.conf

I am trying to understand the entries in the /etc/resolv.conf file in linux systems. The file contains a list of keywords and values. This is an example of the contents of the /etc/resolv.conf: ...
0
votes
1answer
8 views

Updating a mutable named set in nftables with responses from bind

I need to apply an nftables rule to all traffic originating from a specific host, but the packets will not necessarily include the proper FQDN, so I need to rely on the IP address(s). The issue is ...
4
votes
2answers
6k views

How to make systemd-resolved stop trying to use offline DNS servers?

I have configured my DHCP server to supply two nameservers for redundancy, so that if one is offline the other one can be used. I have configured my PCs with systemd-resolved and according to ...
304
votes
17answers
907k views

How do I set my DNS when resolv.conf is being overwritten?

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 ...
2
votes
1answer
24 views

Problem running CURL with the dns option

I'm using curl for a while now to debug my non-prod web services. When I'm using the --dns-servers option, I always receive an error that this feature was not found: curl --dns-servers ...
0
votes
1answer
58 views

DNS on apt not working inside docker containers, others work

I have this problem with Docker containers on one of my servers running OMV 5 on Debian 10. Temporary failure resolving About this setup. I have recently installed OMV 5 on two x86 and one ARM ...
0
votes
0answers
20 views

Ubuntu does not use DNS server from router

I cannot solve DNS resolution on UBUNTU 20.04. If I check the IP values after connection it is showing the right DNS server address, but in NSLookup the DNS server is not listed, and it comes back ...
0
votes
1answer
81 views

Override Ubuntu 20.04 DNS using systemd-resolved

How do I configure an Ubuntu 20.04 system so it overrides the default DNS? It seems that by default there is a global and per-link DNS setting. I tried a couple of things that did not work: Edit /...
1
vote
1answer
3k views

Web interface for BIND DNS and DHCPD servers

Currently we are using the BIND DNS and the standard DHCP server that comes with Linux (Scientific 6.4) as networking services on a private networking. Is there any some kind of a web interface that ...
0
votes
0answers
22 views

Device or resource busy - getaddrinfo

I'm on a CentOS 7 VM running PG, MariaDB, sidekiq and apache httpd. Sometimes my logs are spammed with errors such as: unable to resolve address: System error WARN: Mysql2::Error::ConnectionError: ...
0
votes
1answer
74 views

How do I resolve DNS addresses with Automotive Grade Linux (Halibut 8.0.0)?

I have Automotive Grade Linux (Halibut 8.0.0) installed on a Qualcomm board. I can bring up ethernet okay. sa8155:~# ifconfig eth0 up sa8155:~# udhcpc udhcpc: started, v1.29.3 udhcpc: sending ...
0
votes
3answers
1k views

nmcli won't let me remove DNS entry from /etc/resolv.conf

Centos 7.5, nmcli version 1.20.2 Whenever I try to remove entries from /etc/resolv.conf I get the following errors. [root@client ~]# cat /etc/resolv.conf # Generated by NetworkManager search home ...
282
votes
14answers
790k views

What DNS servers am I using?

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)
0
votes
0answers
30 views

Weird : Can't ping another machine by its hostname but ONLY from a specific machine

I have a machineA, ip 192.168.0.171. I can ping it from all the machines on the network, but not from machineB - by hostname. Using its IP address, it is pingable. From MachineB, I can ping all the ...
1
vote
1answer
19 views

Dnsmasq can't forwarding .local DNS query

I have a windows AD/DNS server. Domain is xxx.local. IP 192.168.3.100 At a same time I have a special subnet use dnsmasq service. these subnet computers can't get any xxx.local records from server ...
0
votes
0answers
41 views

Pihole not working

After running the automated installer provided on pihole curl -sSL https://install.pi-hole.net | bash it reported in FTL engine not installed but i was able to run pihole -d and results are here ...
2
votes
1answer
7k views

How to setup DNS manually on Linux?

In Linux /etc/resolv.conf get often overwritten when we setup the DNS, because of the multitude of programs managing the DNS servers. How to properly setup the DNS ?
94
votes
1answer
26k views

Chrome: DNS requests with random DNS names: malware?

Over the years (since 2005), I have seen logs of strange random DNS requests done, on the multiple DNS / BIND servers I have maintained. May 7 12:13:50 1.1.1.1 named[63742]: client 1.1.1.2#24123 (...
1
vote
2answers
35 views

DNS lookup against PiHole fails for local hostnames on 20.04 (works on other systems)

External DNS lookups work without issues, but anything for a non-FQ domain (i.e. only the hostname portion) fails unless I explicitly force it to use the PiHole to resolve it. nslookup myhost # this ...
0
votes
2answers
45 views

Wrong DNS answer when using ping from iputils-s20180629 and the shortest DNS name: dk

I wonder why ping fails to retrieve the ipv4 of dk TLD on my Debian 10. It's a valid domain name, the shortest I ever know on earth via dns. (Good to test network connection). When I use dig, all is ...
-1
votes
0answers
35 views

What is the fastest way to get the ip address of the current machine? [duplicate]

I'd like to get the public IP address of a machine. It seems that the following two commands can work. And the first one is faster. Is it the fastest method? Is there any faster other method? dig +...
1
vote
2answers
38 views

In SSH Local Port Forwarding what DNS server is used to resolve the host (not the ssh gateway)?

In local port forwarding, what DNS server resolves the name of internal_db.local? Would that be the internal SSH server's DNS? (that's what I would think) Or is it the external DNS server that ...
0
votes
0answers
17 views

iptables redirect DNS queries to different port

I want to install a pi-hole in a virtual machine on my workstation at work SETUP Workstation: Debian with virtualbox, corporate IP address Guest: debian with pi-hole installed, NAT network ...
-1
votes
1answer
14 views

lan intranet only Ubuntu 18.04.4 - wordpress under apache2 is not available to android or IOS but is completely available from WIN10 client

I have recently installed Apache2 on a stable installation of Ubuntu server 18.04.4 and completely installed a working version of wordpress which is working for internal development work. I can't ...
2
votes
2answers
5k views

zone delegation in Bind

I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently. Is there a way ...
1
vote
2answers
652 views

I use only dhcpcd and I want to make /etc/resolv.conf add search domain.local

I have a number of machines which do not use a network manager, and only use dhcpcd for setting the IP address. For example, my raspberry pi 4. I have statically assigned the IP address in the /etc/...
0
votes
1answer
65 views

/etc/resolv.conf on CentOS7 doesn't seem to honor options

# uname -a Linux myserver 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) # cat /etc/...
0
votes
1answer
56 views

Reverse Lookups to Local DNS Server Failing on Ubuntu 18.04

On Ubuntu 16.04 REVERSE lookups to a local DNS/DHCP bind9 server on the local network are SUCCESSFUL, while on the other hand, on Ubuntu 18.04 (and higher) the REVERSE lookups FAIL. All systems are ...
0
votes
2answers
974 views

Linux Mint 18 / Update problem/ DNS problem / Run script on startup

I have Linux Mint 18, and always (with Linux Mint 17 too) have a problem with the connection to some repositories in the update option. The solution that I found is to run this in terminal and it ...
-1
votes
2answers
25 views

MDNS multi-cast DNS and resolv.conf file

Can a MDNS ( multicast dns ) issue cause duplicate lines in the resolv.conf file? For example , we have the following resolv.conf file more /etc/resolv.conf search coronplesdf.hh.com server 108.16.1....
8
votes
3answers
13k views

ping displays “Name or service not known”

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 ...
0
votes
1answer
10 views

Why is iodined significantly slower when I run it from a systemd unit?

When I run iodined from systemd I get 30 second+ pings, but when I use it directly from the linux cli I get reasonable pings of ~60ms.
-1
votes
1answer
43 views

dig: parse of /etc/resolv.conf failed

I tried using dig and I got the error in the title. My /etc/resolv.conf is this nameserver 67.207.67.2 nameserver 67.207.67.3 nameserver ns1.name.com nameserver ns2.name.com nameserver ns3.name.com ...
0
votes
1answer
45 views

Why isn't local dns used in Ubuntu 18.04

My question is essentially the same as Why doesn't systemd-resolved use my local DNS server?, but I'm looking for a different kind of answer. The basic question has been asked many times, but the ...
8
votes
2answers
2k views

What overwrites /etc/resolv.conf roughly every hour?

I'm trying to add a search line to /etc/resolv.conf I've added it directly, as an append command in /etc/dhcp/dhclient.conf and as a nameservers block in /etc/netplan/50-cloud-init.yaml. After ...
2
votes
1answer
568 views

DNS issues on a single Wifi - Linux Mint 19.1

I'm having DNS problems with one WiFi network which I've been using for a long time. I tried to do an hotspot with my phone and everything worked as normal, so the issue is only on that network. ping ...
1
vote
3answers
4k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
0
votes
1answer
35 views

What to do when you can't edit /etc/hosts

I need to override DNS for a few hostnames on a Linux Centos 7 machine. I do not have write access to the file, however. What can I do in this case?
3
votes
3answers
31k views

How to solve a temporary failure in name resolution error?

I've installed Kubuntu 18.04 on a desktop with an ethernet connection. During the installation, updates were downloaded and the internet was working fine. Once the operating system is installed, every ...
0
votes
1answer
28 views

In which case do I need to run a DNS server daemon?

After reading the theories of DNS server, I'm still not 100% understand its use case. We need DNS to resolve a domain name e.g. drive.google.com to its IP address. If I check my desktop PC with Fedora ...
40
votes
3answers
55k views

How to configure systemd-resolved and systemd-networkd to use local DNS server for resolving local domains and remote DNS server for remote domains?

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 ...
2
votes
0answers
20 views

Inconsistent nslookup behaviour

When I run nslookup google.com 192.168.190.81 it works. tcpdump -n -vv output during above command is: 18:12:24.815483 IP (tos 0x0, ttl 64, id 8975, offset 0, flags [none], proto UDP (17), length 56) ...
0
votes
0answers
39 views

Parrot OS Networking Issues

What version of Parrot are you running? (include version (e.g. 4.6), edition(e.g. Home//KDE/OVA, etc.), and architecture (currently we only support amd64) Parrot Security from uname -a: Linux parrot ...
0
votes
0answers
19 views

How can I change resolv.conf upon reloading dnsmasq?

On one of my systems, I use dnsmasq as my DNS resolver. This system is also an OpenVPN client. When the system comes online, it gets the ISP's DNS servers from the router though a DHCP request. It ...
16
votes
6answers
121k views

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ifconfig ...
1
vote
1answer
4k views

How to proxy nmap and dns resolution of nmap

How to use nmap and dns resolution of nmap over proxy? I tried proxychains, but for dns resolution it doesn't work, it's known bug as I read on some forums. It works well without dns_proxy feature in ...
0
votes
1answer
44 views

dhclient.conf modifications do not change resolv.conf

When I modify my /etc/dhcp/dhclient.conf with prepended nameservers, after a network manager restart, the generated resolv.conf file does not contains these servers. I'm working on Kali Linux. Here ...
0
votes
0answers
16 views

Debian: nslookup cannot resolve genrinho.pt

I'm trying to create a mail server on iRedMail but I have no idea here I'm failling. When I introduce the code: nslookup genrinho.pt it says this: Can someone help me?

1
2 3 4 5
23