Questions tagged [dns]

Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses. Use the [tag:dns] 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
2
votes
1answer
4k views

Hostname lookup (ping) hangs indefinitely

Normally if I try pinging an address it will either do so promptly or state that the host is unknown. On one machine however, it seems that trying to ping an unknown host will cause it to hang forever ...
-1
votes
0answers
18 views

If I have an L4 switch, is there an advantage to building my own dns server? [on hold]

Include your own dns server in the L4 switch configuration for the internal network, or Is there any advantage in building external network outside L4 switch configuration? And Real companies use ...
0
votes
0answers
13 views

Bonjour/Zeroconf not working properly on Ubuntu 18.04

I have a raspberry pi (Raspian) running a nodejs http page. The pi has a hostname and uses Avahi to advertise it. I have the Bonjour service running on my Windows PC and I can access the page just ...
0
votes
0answers
14 views

Ubuntu 18.04: unbound seems to stop working after a period of time

I set up pi-hole with unbound on my ubuntu 18.04 machine. I followed the instructions by pi-hole[1]. Clients can reach websites with this method but after some time I get timeouts. Pihole is still ...
0
votes
0answers
16 views

NordVPN (OpenVPN) DNS lookups fail

I followed instructions in this answer: ssh into a server which is connected to a VPN service so that I could connect/stay connected to remote Ubuntu 16.04 server via SSH while the server was ...
0
votes
1answer
39 views

What Happens When the Hostname Differs from the One in the /etc/hosts File

It is possible to have the name from hostname not appear in the /etc/hosts file in *nix systems. What happens in this scenario?
3
votes
1answer
3k views

How do I make resolv.conf work the old way on modern Linux distributions?

In /etc/resolv.conf on modern distros link Mint 17 and Ubuntu 16, there's a warning: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND ...
1
vote
1answer
3k 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 ...
10
votes
2answers
18k views

avahi-daemon and “.local” domain issues

I have a Ubuntu 16.04 based HTPC/Media Server that's running 24/7. As far as I can remember using an official Ubuntu distro, I've always had issues with the avahi-daemon. The issue is pretty often ...
1
vote
1answer
30 views

hostname failing to resolve in CentOS 7

I have a DNS server configured but the hostname is failing to resolve. I keep getting these error when running host: [root@ns1 ~]# host hostname Host hostname not found: 5(REFUSED) And I also get ...
17
votes
4answers
36k views

How to test DNS speed?

I am using google open DNS. How can I measure the speed of a DNS server?
-1
votes
0answers
18 views

Are dnsmasq options “server=/localnet/192.168.0.1” and “local=/localnet/” are only used with “no-resolv” and “no-poll”

I am a bit confused while reading documentation. As far as I understand, if I do not want dnsmasq to read from /etc/resolv.conf and use as upper level nameserver 192.168.0.1 I create config like this:...
0
votes
1answer
493 views

DNS zone not loading: Permission denied

i see in the named data file the zone i created will not load because of a permssion error: [root@office1 tmp]# cat /var/named/data/named.run info: managed-keys-zone: loaded serial 11 info: zone 0.in-...
1
vote
0answers
23 views

Why wired connection(Shared) blocks the internet from other Connections, Debian?

I'm trying to share my wifi connection through ethernet in ubuntu and debian, but my script only work in ubuntu, when i use it in debian, the wired network works fine, but the wifi internet gets ...
0
votes
1answer
37 views

strace does not list /etc/hosts in ping/host command in CentOS 7

I was reading https://zwischenzugs.com/2018/06/08/anatomy-of-a-linux-dns-lookup-part-i/ and on the author's Debian/Ubuntu system /etc/hosts is used. But when I do strace under CentOS 7, I don't see ...
5
votes
1answer
50 views

DNS Lookup on server with multiple IPs

I have a single CentOS server (amanda01) with three IP addresses on three different subnets. eth0 = 10.0.2.0 subnet eth0.vlan101 = 10.101.0.0 subnet eth0.vlan107 = 10.107.0.0 subet (As you ...
0
votes
1answer
27 views

How to clear DNS cache on Fedora on any other Linux distro

I've just changed the hosting for my Domain the name got propagated (24 hours passed) I have new page (without SSL because I didn't added it yet on new hosting) on my android phone. But when I open ...
0
votes
0answers
29 views

Can reach local DNS, but remote not

I'm getting nowhere with the following problem: When using my local ISPs DNS server at 192.168.0.1 (for example putting it into /etc/resolv.conf or using it directly with dig google.com @192.168.0.1) ...
0
votes
2answers
874 views

reverse slave DNS server zone file not transferred

I am using amazon free tier with RHEL 7and configuring master and slave dns server. From master everything is ok, but slave I couldn't find result. Also I would like to know how can I secure my dns ...
1
vote
1answer
2k 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 ...
3
votes
0answers
313 views

Why is systemd-resolved falling back to using Google Public DNS over IPv6 when I did not configure it to do that?

I'm having problems with SystemD's resolved service on Ubuntu 18.10 - on my wireless network we have an IPv6 subnet that is tunneled through some weird network setup (work stuff) and can't be used for ...
-1
votes
2answers
745 views

ping displays Name or service not known

I am on Arch Linux for 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 to the ...
1
vote
1answer
889 views

cannot ping website but can ping ip, DNS not working

I am using an ARM target running Open Embedded Linux from Yocto, it has eth0 network interface from a private LAN network. I am able to ping an IP like 173.203.44.122 but using the name(rackspace....
271
votes
16answers
822k 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 ...
1
vote
0answers
39 views

DNS over TCP (uclibc) [closed]

DNS queries consist of a single UDP request from the client followed by a single UDP reply from the server. The Transmission Control Protocol (TCP) is used when the response data size exceeds 512 ...
0
votes
1answer
38 views

Required key not available when running nslookup, dig

I upgraded my system recently, and now I am seeing a really bizarre error, any ideas on what I can do to fix this issue?: nslookup 8.8.8.8 ../../../../lib/isc/unix/socket.c:2135: internal_send: 192....
2
votes
1answer
907 views

What are link “scopes” in systemd?

While trying to fix a DNS issue with NetworkManager's ModemManager on Ubuntu, I came across this difference in the output of systemd-resolve --status when connected. (ping ip works, manually editing /...
0
votes
0answers
4 views

about cross domain between CDN Azure and FortiADC

I'm facing issue that when I create CDN in Azure to redirect to my server via IP (in Azure Environment). the domain CDN gave is example.azureedge.net. but the domain for my server is set via fortiadc ...
0
votes
1answer
26 views

ping always suceeds - even on non-existing domains

Working on CentOS7 - after entering non-existing domain: # ping dfgsdfgsdfsdf.sd The answer is (mail.xsistema.lt is local domain, machine name): PING dfgsdfgsdfsdf.sd.xsistema.lt (192.168.0.55) 56(...
0
votes
1answer
14 views

No Route To Host from one VM on LAN

I'm quite stumped/frusterated as I can't get postfix to work on one of my VM's. It is a "template" VM and I have setup other VM's with this template fine. The only difference I can really think of is ...
1
vote
2answers
3k views

Can't ping localhost [closed]

I have an issue with the localhost alias. It doesn't work. Basically, no program can resolve localhost to 127.0.0.1. The alias is in /etc/hosts: [root@gabriel-notebook gpoesia]# cat /etc/hosts # # /...
0
votes
1answer
2k views

How to configure dnsmasq as an authoritative DNS server?

I'd like to setup dnsmasq as an authoritative DNS server, but can't find any good guides for it. So could somebody please post a sample configuration of dnsmasq as an authoritative DNS server (with ...
0
votes
2answers
883 views

Bind doesn't resolve his authoritative zones

I'm currently setting a Bind 9 server on a CentOS 7 system, but I have some kind of unexpected behavior (even though it worked great in my VM). When I want to retrieve records from the zones it is ...
3
votes
2answers
1k views

Removing Incorrect WINS record

So I have a Ubuntu 14.04 server that I'm trying to get to run as a Domain Controller for a set of Windows machines. I've set up a Bind9 DNS and it works fine, pinging the nameserver gives the correct ...
5
votes
3answers
12k views

Can not resolve .local domains internal to my office LAN

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

dnsmasq not working after reboot

After rebooting, dnsmasq service is running, but does not respond to remote requests (trying using "dig @10.0.0.1 stackexchange.com" from another machine). The log looks good in my opinion: Aug 11 17:...
0
votes
2answers
275 views

Can nslookup but not ping after OpenSuse Tumbleweed update

Following the 02/09 Tumbleweed update my DNS seems to be broken. My wifi icon in top right has a question mark, ping google.com returns Name or service not known, but nslookup google.com correctly ...
0
votes
1answer
29 views

dnsdomainname and hostname -f does not return FQDN

I have one box (Rasberry Pi, running rasberian) with a static IP. It's running in a network with a domainname, and I have several DNS-server set up. However, I can not get FQDN name to work on this ...
1
vote
1answer
2k 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
0answers
12 views

Hostapd with DNS rerouting

I have an old Mac Mini running Debian Stretch where I have bridged the wifi interface to the ethernet interface like so (/etc/network/interfaces): source /etc/network/interfaces.d/* # The loopback &...
3
votes
1answer
962 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
1
vote
0answers
42 views

Adding additional nameservers with resolvconf, dnsmasq & networkmanager

I'm running resolvconf, dnsmasq and interfaces&connections are managed by NetworkManager (nm). dnsmasq is supposed to cache dns entries, and use upstream servers configured via DHCP and manually. ...
0
votes
1answer
41 views

Bug in Virtualmin (/var/lib/bind/mydomain.com.hosts) causes 'unknown RR type' - prevents Zone loading and DNS propagation [closed]

I had a strange situation the last few days where I was pointing the DNS records from my registrar to my own DNS server and DNS was not propagating. I have done this before successfully and was under ...
13
votes
4answers
58k views

How to define DNS server in openvpn?

I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched ...
2
votes
2answers
4k views

How to use different DNS forwarders based on the source IP or MAC?

How would one configure BIND on a Linux system to forward DNS queries to a different upstream forwarder, based upon the source IP and/or MAC of the requesting host? For example, I might want to send ...
0
votes
1answer
21 views

How can I configure some kind of DNS for OpenVPN network?

I have OpenVPN server on VPS server and few connected clients (notebooks, print/file server at home etc.). I would like to connect from client to client or from client to server by using names (...
0
votes
0answers
23 views

Master DNS - Windows, Slave DNS - Linux

There is a working DNS server in Windows Server 2016. I installed and configured slave DNS server in Oracle Linux 7. In windows server, I enabled BIND secondaries, and to Listen all ip addresses. ...
0
votes
0answers
40 views

Two DNS for one IP address

There is a Windows Domain Server and DNS installed on it. There are users in LAN and domain name is example.local . Web server with IP address 192.168.10.124 is written in that Windows DNS server ...
37
votes
5answers
19k views

How do I generate SSHFP records?

I need to setup SSHFP records in the DNS for my host. I have done some searching but I haven't found any good example. What are SSHFP records? What does SSHFP records look like? How do I create SSHFP ...
1
vote
1answer
49 views

How do I generate TLSA records?

I need to setup TLSA records in the DNS for my host. I want to use it for HTTPS, e-mail and SSH. What are TLSA records? What does TLSA records look like? How do I create TLSA records?