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
0
votes
0answers
4 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 &...
0
votes
0answers
13 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
0answers
12 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
32 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 ...
268
votes
16answers
811k 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 ...
13
votes
4answers
56k 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
17 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
39 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 ...
0
votes
0answers
27 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?
36
votes
5answers
18k 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
34 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?
82
votes
1answer
16k 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 (...
5
votes
2answers
171 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
5 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
14 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
4k 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
21 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
14 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
12 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.
3
votes
1answer
2k views

Why is my ISP DNS still in resolv.conf after a VPN connection and how can this be fixed?

Ubuntu 15.10 and dns=dnsmasq is commented out in /etc/NetworkManager/NetworkManager.conf Before I connect to a VPN /etc/resolv.conf contains nameserver 2xx.xx.xx.xx <-- ISP DNS 1 nameserver 2xx....
1
vote
3answers
263 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 ...
2
votes
1answer
1k views

PowerDNS not resolving host computer

I just finished setting up PowerDNS to avoid having to remember all my IP addresses and it seems to work pretty fine, most host names resolve just fine but not the one running PowerDNS (named musicbox,...
0
votes
0answers
15 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....
29
votes
3answers
88k views

How to read the local DNS cache contents?

I know that on Windows I can issue ipconfig /displaydns and I see the local DNS's cache content. How can I list the DNS's cache content in Linux? I would like to get as much as cross-distro solution ...
2
votes
1answer
53 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 ...
3
votes
1answer
44 views

Can an NTP client dynamically detect when to try connecting to servers, without integrating with the specific network configuration system?

ntpd handles dynamic network configurations just fine, as does timesyncd; ntpdate never handled dynamic network configurations, and I don't think it makes sense to work around that with scripts ...
0
votes
1answer
38 views

Bind DNS Server

enter code hereI am setting up my primary DNS server. The reverse lookup appears to work fine, it is the forward lookups that seems to be the problem. Here are my configurations files. /etc/default/...
-1
votes
2answers
44 views

Bind9 shared libraries: libbind vs libdns?

There are two packages libbind and libdns packaged by Debian, they're both described as, The Berkeley Internet Name Domain (BIND) implements an Internet domain name server. BIND is the most ...
8
votes
2answers
2k views

OpenVPN, resolvconf, and DNS domain resolution

While at site1, I need to connect to site2 via OpenVPN. Once connected, the OpenVPN site2 pushes a DNS nameserver and domain search options. This causes all name resolutions for site1 to fail. ...
0
votes
0answers
22 views

node.js instance on Apache is not accessible from the Internet

I installed in my Linux Ubuntu Server virtual machine a Node.js web instance and started it on port 3001. I configured my host DNS to redirect the domain geekchic.com to the IP address of my Linux ...
-1
votes
1answer
18 views

DNS problem: no A record

Ten days ago, i installed a debian 9 stretch, at Kimsufi by OVH. i receive an email from support wich contains a problem with A record, my server is ns.xzave.net, and there is no record A on my server ...
4
votes
1answer
1k views

Split-horizon on DNSMasq?

Is it possible to perform Split-horizon with DNSMasq? I've googled and it seems like it is only possible with Bind9, any advice would be much appericated
-2
votes
1answer
34 views

I am not able to receive emails on my VPS [closed]

I am using linux (Debian 8) on my VPS server. I use virtualmin to handle all domains. I created emails using 'create new user' in the 'edit users' section. I can send emails to others, but I am not ...
0
votes
1answer
67 views

iptables redirect dns to proxy

Can we redirect DNS (tcp/udp) requests to Squid proxy in non-transparent mode (3128) using iptables? (Would the squid proxy understand this and process it?) example rule to redirect tcp 53 (It could ...
0
votes
1answer
32 views

Why does dig utility hang indefinitely even with timeout specified?

I'm using dig utility to find public IP address. The command I used is: dig +short myip.opendns.com @resolver1.opendns.com but I had problem since on some other computers it took so long, so I ...
1
vote
1answer
28 views

BIND subnet syntax

I am trying to add an entire subnet to BIND, rather than individual IP addresses. For example instead of doing this: example1.test.com IN A 192.168.5.43 example2.test.com IN A ...
1
vote
3answers
2k views

After expressvpn uninstall: no connection to working DNS service anymore after uninstall

During a travel through China I have been using expressVPN with Ubuntu 16.04 After uninstalling it, I could not use internet connections anymore. My /etc/resolv.conf looks like this # Generated by ...
2
votes
0answers
58 views

/etc/resolv.conf overwritten with old DNS entries not what is in /etc/sysconfig/network-scripts/ifcfg-enp0s3

I have an Oracle Linux 7.5 VM on VirtualBox setup with a static IP address. My DNS servers have changed since I first setup the VM. I modified the file /etc/sysconfig/network-scripts/ifcfg-enp0s3 to ...
0
votes
1answer
1k views

How do I get DNSMasq to serve up DNS to Windows hosts without a domain?

I Have an Ubuntu 16.04 host (10.0.10.2) with DNSMasq installed which is only serving up DNS, and a couple Windows hosts on the same subnet, as well as a couple other Linux hosts on the same subnet. ...
0
votes
1answer
29 views

reverse dns flow

I am trying to understand the reverse dns implementation of bind. in my lab setup, i have a pxe server witn dns configured. it has 21.168.192.in-arpa.arpa reverse lookup zone file. i am using foreman ...
0
votes
1answer
87 views

Configuring Stub Resolver in RHEL 8: systemd-resolved not caching DNS queries

In RHEL 8, systemctl list-unit-files|grep resolved reports that systemd-resolved is both present and running by default. However, systemd-resolve --statistics shows no name:ip mappings are being ...
0
votes
0answers
19 views

Postfix / SpamAssassin ignoring SPF entirely

I am currently getting a ton of email from "myself" and have been having a ton of difficulty filtering it. I have postfix configured to check SPF and (presumably) reject if it fails, and SpamAssassin ...
-1
votes
1answer
428 views

ping: google.com: 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 ...
2
votes
1answer
101 views

How do I to debug a slow network? (ArchBang)

Situation: MacBook Pro (late 2011/i3) with ArchBang has inconsistent network issues (very slow speed, pages fail to load, dns resolution failing). The workaround: systemctl restart NetworkManager....
-1
votes
1answer
24 views

Is it ok to combine machines with DNS server management and machines that do host lookups through a hosts file?

We have a cluster of Linux machines. DNS of these machines is managed by a DNS server (a Windows machine with DNS records). Now we want to add an additional cluster with Linux machines that would do ...
0
votes
2answers
44 views

resolv.conf with DHCP and local DNS server

I have installed a local DNS server (coredns) onto my machine and activate it by setting name_servers=127.0.0.1 within resolvconf.conf. Now I switch networks and want to have the DHCP provided ...