Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
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
20k 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
37 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
37k views

How to test DNS speed?

I am using google open DNS. How can I measure the speed of a DNS server?
0
votes
1answer
674 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
26 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
47 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
71 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
50 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
32 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
920 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 ...
3
votes
0answers
383 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
1k 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
958 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....
0
votes
1answer
55 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
1k 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
21 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
4k 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
3k 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
900 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 ...
6
votes
3answers
15k 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
1answer
38 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 ...
0
votes
0answers
20 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
975 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 ...
3
votes
0answers
151 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
51 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
61k 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
5k 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
26 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
42 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 ...
38
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
77 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?
89
votes
1answer
20k 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 (...
6
votes
2answers
549 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 ...
3
votes
1answer
2k views

How to stop openconnect from changing DNS settings

Since my college is using this horrible Cisco AnyConnect VPN, I am trying to find my way around their client software and discovered openconnect. So far it works great and thanks to a different ...
0
votes
0answers
20 views

Multiple root.key files with Unbound installation on Ubuntu 18.04 LTS Desktop

The Unbound DNS resolver installation on Ubuntu 18.04 LTS Desktop (amd64) has at least two root.key files. One of them lives in /usr/share/dns/root.key, and the other at /var/lib/unbound/root.key. ...
0
votes
0answers
16 views

Is there a way to substitute domain names in DNS requests with dnsmasq?

I'm trying to change domains in all my outgoing DNS requests (before they are going out to DNS server) let's say from <foo>.<suffix1> to <foo>.<suffix2>. Is there a way to do ...
27
votes
1answer
5k views

Why does Chromium not cache DNS for more than a minute?

I use Chromium and have problems with the DNS not being cached for the time that I would expect. Take the example.com domain. According to the DNS settings, this domain should be cached for another ...
12
votes
3answers
12k views

How to test /etc/hosts

What's the best way to confirm that your /etc/hosts file is mapping a hostname to the correct IP address? Using a tool like dig queries an external DNS directly, bypassing the hosts file.
0
votes
0answers
24 views

overwrite DNS domain

We have an enum server that sends all naptr request to an enum provider. The provider only responds back if the domain matches them. We have several domains and I need to intercept the request ...
0
votes
0answers
18 views

Make bind dns to use external recursive dns when resolving fail

My country block some DNS servers. So main recursive DNS server for our institution fails to resolve some domains. Is it possible to use 8.8.8.8 as fallback on our DNS server in case when own ...
0
votes
0answers
15 views

powerdns forward naptr records

We have an enum provider and I would like to setup a powerDNS server that will look for the naptr records locally and if not found, it will forward them to the providers enum server.
1
vote
3answers
398 views

Understanding sendmail binary

I have a website with some PHP based CMS on which I'm the only user. This website has a simple contact form (name, email, phone and body) by which I get mail from non registered users. One the one ...
0
votes
0answers
21 views

Issues with NFS/CIFS shares and martian packets when using two interfaces

Background: I have an isolated LAN. The switch is configured with 3 VLANs Here is how my network is setup VLAN Subnet Mask CIDR Range Gateway 10 192.168....
2
votes
1answer
132 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 ...