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.

272 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
800 views

How to deal with underscores in hostnames?

I got DNS set up on my company's server and it works just fine, except I got problem with some phones. For example one of the phones is “Huawei P9 lite”, and it's hostname (set on the phone, no chance ...
8
votes
1answer
294 views

OpenVPN nameservers ignored by NetworkManager or whatever

I'm using Elementary OS. I've followed a dozen suggestions from different websites and nothing helps. I use OpenVPN client to connect to an office network. The company I work for has provided me the ....
7
votes
0answers
534 views

What is the recommended way to set a global DNS server override on a system using systemd-resolved?

I would like my newer GNU/Linux system (Ubuntu 18.04 LTS) to use a single, manually-configured, DNS server for all DNS queries. In the past, I could simply do echo "nameserver 1.1.1.1" | sudo tee /etc/...
5
votes
0answers
555 views

Resolvconf not resetting DNS settings

I am using OpenVPN 2.3.11 i686-pc-linux-gnu to connect to a remote VPN server. I would like to connect to the VPN server, load the DNS nameservers from the VPN server. Once disconnecting from the ...
5
votes
0answers
1k views

dhcp ipv6 dynamic prefix delegation

I'm trying to setup Linux-based home gateway with IPv6 support. IPv4 configuration is finished and I'm using IPv4 NAT, ISC DHCP for addresses allocation, PowerDNS for local DNS setup, PDNS recursor to ...
4
votes
0answers
39 views

Going all-in on DNSSEC

I have been doing an effort to go full on DNSSEC on my system with the following setup: dnscrypt-proxy installed, up and running on 127.0.0.1 with require_dnssec = true systemd-resolved running, with ...
4
votes
0answers
1k views

Loss of DNS on BeagleBone Black Debian

We are running a remote application on a beaglebone black in which we regularly report our external ip address retrieved from various external ip services (freegeoip.net, ipinfo.io, various STUN ...
4
votes
0answers
1k views

NetworkManager Default Connection Settings

I'm trying to modify NetworkManager's default DNS settings so that whenever I add a new connection it uses 127.0.0.1 instead of the default DNS for that connection. I still would like to be able to ...
4
votes
0answers
1k views

How to configure isc-dhcp-server to offer upstream DNS servers?

Every example dhcp.conf I can find has hard coded DNS servers - typically the google public DNS addresses... option domain-name-servers 8.8.8.8, 8.8.4.4; If I leave out the option domain-name-...
4
votes
1answer
2k 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
3
votes
0answers
298 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. ...
3
votes
1answer
91 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 ...
3
votes
0answers
455 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 ...
3
votes
0answers
246 views

Map DNS requests coming from specific client MAC with dnsmasq

I'm using dnsmasq on OpenWRT. Is it possible to map certain hostnames for DNS requests coming from a specific client? The ultimate goal in my case is to map certain hostnames to 127.0.0.1 to block ...
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 ...
3
votes
1answer
906 views

NetworkManager corrupted ipv6 dns settings

Today, I started having most web sites failing to load in browsers. Checking my network settings, I discovered those strange settings in ipv6 tab: Switching back to my usual dns for ipv6 (Google's ...
3
votes
0answers
444 views

Closed network DHCP+DNS - updating in-addr.arpa side works, forward side refuses to update

I am struggling with one small problem in our closed network. I built new DNS and DHCP and everything works, except DNS refuses to update file with forwarding information sent from DHCP. I have tried ...
3
votes
0answers
128 views

Per-user DNS settings for VPN

My system's set to send only a particular user's traffic through a vpn (via iptables and --uid-owner). It works fine, but that user's DNS leaks onto the open net. Any way to send only one user's DNS ...
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....
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 ...
3
votes
0answers
537 views

How is resolv.conf maintained when there are two network cards?

I have a Debian Wheezy VMware virtual machine guest with two network cards. One is in bridged mode and has access to the internet. The other is in host-only mode and does not. Some process, perhaps ...
3
votes
0answers
1k views

DNS resolution problem with OpenBSD

During boot up, messages flashed on my computer screen, among which are the following: DHCPACK from 192.168.200.1 bound to 192.168.200.12----> renewal in 432600 seconds The contents of my /etc/...
3
votes
0answers
325 views

After changing network openvpn keeps querying stale dns

After changing network connection in my laptop (fedora 21) openvpn clinet is unable to resolve server address so every several seconds same line appears in logs: RESOLVE: Cannot resolve host address: ...
3
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,...
3
votes
1answer
984 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
347 views

Use eth0 and eth1 for different subnets and assigned host name to interface?

I have a machine running SELES 10 with dual NIC Both the NICs are on separate subnets. The server uses a DHCP. So when one interface, eth0, gets the IP from DHCP and registers with DNS and then the ...
2
votes
1answer
18 views

How can I find virsh hosts by name?

tl;dr: How can I get DNS on my machine to look up virtual machines I create in virsh? I have virsh installed via the regular packaging on Ubuntu 18.04 (bionic). This results in two name servers - a ...
2
votes
0answers
129 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 ...
2
votes
0answers
131 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 ...
2
votes
0answers
30 views

Can I alter the result of DNS resolution for a VPS?

I have a VPS hosted by a no frills provider and have an IP that I log into through SHH. When I run a traceroute on it, the final hop identifies the location service as ip-somebrand.com. As my ipv4 ...
2
votes
0answers
468 views

ntp using ipv6 address instead of ipv4

I have a laptop running a version of Linux ( 3.12 ). I have ntpd installed and configured to sync with time.google.com. The problem I am having is if I am plugged into a network that only provides ...
2
votes
0answers
80 views

Use DHCP-provided DNS or not based on connected network

My current networking setup (on Arch Linux) involves: stubby to resolve DNS requests with DNS-over-TLS. dnsmasq to cache DNS queries (and nothing else). openresolv to manage resolv.conf. ...
2
votes
1answer
500 views

BIND as a DNS server host command is refused

I am attempting to run my host machine as a DNS server, it will also function as the gateway. My /etc/named.conf is as follows: options { directory "/var/named/"; allow-query {127.0.0.1;...
2
votes
0answers
1k views

Server can't find XXX.in-addr.arpa: NXDOMAIN

I am trying to make a DNS server with bind9 on ubuntu, but when I nslookup the ip I only get the NXDOMAIN status. Same thing happens with my domain www.peliluolaXXX.net. How to solve this? Here are ...
2
votes
0answers
102 views

Can't setup opendns on Fedora 26

It's not my first rodeo, been using Opendns for like 10 years, I just don't know why it refuses to work now on Fedora 26. My ip is in my account and my dns is as follows and I restarted the PC ...
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 /...
2
votes
0answers
107 views

How do I use OpenVZ 7 hardware node for name service caching with *all* container types?

I've stopped using OpenVZ for a couple of years and now I'm back at it I feel somewhat overwhelmed by the increased level of complexity. I'm just stuck for hours on this simple task: I want to use ...
2
votes
0answers
951 views

Some services on debian 9.0, can not resolve domain names

Recently, after a dist-upgrade to Debian 9.0, I happened to notice that danted (a socks v5 proxy server) and stunnel4 (an SSL/TLS tunneling service) services can not resolve domain names. In danted ...
2
votes
0answers
391 views

Temporary DNS resolve to local ip (for temporary http redirect)

So here is my high level goal: I have Linux running on a small device that acts as a Wifi-Hotspot for wireless clients. It also runs a web server (nginx) for configuration and I would like to ...
2
votes
0answers
604 views

BIND 9 intermittently slow

I'm running several Bind servers (v9.10.4) to provide DNS services to my users. Intermittently (about 30 seconds every 15 minutes) all recursive requests will fail and timeout. CPU and Memory on all ...
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 ...
2
votes
0answers
428 views

dig and host/ping resolve differently using the same nameserver

I guess this is more of a philosophical question. Records have changed, but only dig seems to see the new one. ssh/ping and such use the old address. The TTL of the record dig sees is also ticking ...
2
votes
0answers
389 views

Why is this DHCP dynamic DNS update behavior inconsistent?

I maintain a large DNS zone using BIND 9.8.2 on RHEL 6. Let's call it example.edu. It has a main zone file for example.edu as well as subdomains with separate zone files like abc.example.edu, qrs....
2
votes
1answer
631 views

systemd-resolved change dns cname records

I have a PC with Arch Linux (4.7.2-1-ARCH) on it. The PC uses DHCP to get its IP, but uses a different DNS Server that i configured via systemd-resolved. When I use the dig command with a domain the ...
2
votes
1answer
118 views

What are the most restrictive external firewall / DNS listening port settings I can have for my DNS server (internal clients only)

This question relates specifically to hardening the configuration of DNS, firewalls and at the limit, ntp. (not proxys, http access,vpn's or other services). This is about the externally-facing side ...
2
votes
2answers
774 views

Docker dns failure

I launched Concourse CI worker with Boot2docker on OS X. Docker info: Client: Version: 1.11.0 API version: 1.23 Go version: go1.5.4 Git commit: 4dc5990 Built: Wed Apr 13 18:13:...
2
votes
0answers
3k views

How to avoid curl trying IPv6 name resolution

From a docker container when I try to curl 'another container name', curl first tries to resolve the name to IPv6. This causes few seconds delay because the web server is not reachable over ipv6. I ...
2
votes
0answers
523 views

Choosing right resolver for certain domain

I'ts possible to let resolver to select a specific resolv for particular domain? For example i have, in my resolv: search www.huaweimobilewifi.com mycompany.domain nameserver 192.168.8.1 <- my ...
2
votes
0answers
253 views

Need for IPTables expert, possibly with knowledge of u32 module

A customer is sending queries against DNS root-servers on my recursive DNS server. I need to block it with iptables. I tried 3 examples but it is not working. 0 0 DROP udp -- * * ...
2
votes
0answers
172 views

Raspberry pi wireless TOR access point. Open VPN doesn't connect. DNS problem

I have Raspberry pi (Raspbian) wireless TOR access point connected via ethernet cable to my local router. Everything works fine except one thing. When I want to use VPN, I'm unable to connect to my ...