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
117 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
25 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
85 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 ...
1
vote
4answers
77 views

Is it possible to check for DNS-leaks on unix server?

I run a Ubuntu server where I have a split tunnel for VPN. Which means I have a "normal" connection to the internet for most of my services but also a tunneled connection that only a few services use. ...
0
votes
1answer
38 views

DNS mx record for subdomain

There is a domain: example.gov.en And its subdomain: subdomain.example.gov.en When I send mail to user1@example.gov.en - it is ok, works. But when I send mail to user2@subdomain.example.gov.en - it ...
11
votes
2answers
5k views

What's the “right way” to effect changes in /etc/resolv.conf with /etc/resolv.conf.d in place?

I the old days, resolv.conf was static and you edited it yourself. Later on, the DHCP client would rewrite it, using some static entries and what it got from the DHCP lease. These days, some ...
0
votes
0answers
20 views

What happens if the SOA returned by the nameserver has an MNAME that is non-authoritative for the domain?

Previously I asked "What if the nameservers stored at the registrar for a domain answer non-authorative?". Now I have another question along the same lines. I'm really trying to understand the ...
1
vote
1answer
29 views

What if the nameservers stored at the registrar for a domain answer non-authorative?

In what way are resolvers concerned or affected by having a non-authorative response from the primary and all available secondary nameservers? Would a setup like this where the primary master ...
0
votes
2answers
147 views

DNS lookup fails on first time, but second lookup works

I have a lot of Raspberry Pi systems which are located at different networks of over which I have no control. Recently I recognized that at one network sometimes but not always the first DNS lookup ...
1
vote
1answer
3k views

Arch Linux resolving issues

I have a Rasberry Pi running Arch and i'm encountering some weird resolving behavior. Long story short, dig and nslookup can resolve hostnames, curl, wget, pacman can't. If i add a host in /etc/hosts ...
0
votes
2answers
304 views

BIND9 DNS zone file check reveals “ignoring out-of-zone data”

I am running a DNS and DCHP service on a local server (Raspberry on Stretch). When checking the zone files, I get: # [2019-02-03 10:32] maxg@rpiserver /etc/bind/zones $ named-checkzone rpiserver ...
1
vote
1answer
59 views

Have unexpected hostname and IP

I built a new rPi3 with Stretch on it; its name is rpi3ohv2. I set it up as 192.168.1.4 and later (Dec 28) changed it to .5 When I ping, dig and nslookup it, it comes up as .4 nslookup rpi3ohv2....
-1
votes
1answer
36 views

is there any advantage to use dns server instead of dns that based on /etc/hosts

we have two option to use DNS in our presto cluster use /etc/hosts and set all aliases in hosts files use DNS server ( WIN 2008 server ) , and configure /etc/resolve.conf the first option is more ...
20
votes
3answers
218k views

How to flush local DNS cache in CentOS

I'm looking for a way to flush the local DNS cache on a CentOS 6. The system is not running any DNS server or anything, and I wish to let every DNS query go out to the configured nameserver, even for ...
0
votes
1answer
29 views

What does a resolver do if DNSSEC is properly configured on a server that isn't reporting to be authoritative

Does DNSSEC require that my NS1 and NS2 stored at the registrar be authoritative, or just that they answer for the domain? Can they be non-authoritative DNS servers answer the query? Does anything ...
2
votes
1answer
74 views

DNS: a “short” query (UDP) does not return an address, but a “long” (ANY, TCP) query does

This is a companion to an AskUbuntu question I posted before I had learned enough to ask this question. (This is for Ubuntu 18.04) By watching the debug output from systemd-resolved, I can do ...
21
votes
2answers
25k 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 ...
0
votes
1answer
41 views

Issue with DNS logging channel

I have configured my DNS server with logging channel but still log is writing to /var/log/message file. options { // Default zone file directory for this dns server directory "/var/named"; // Who ...
1
vote
2answers
472 views

NTP pool provide only IPv4 records?

Is it normal that the NTP pool DNS servers provide no AAAA records and only A records? I would like to know the IPv6 address of some NTP servers of the pool. NTP Test Results - pool.ntp.org ...
0
votes
1answer
292 views

Update Failed: Download failed. cURL error 6: Could not resolve host:

I am getting the error "Update Failed: Download failed. cURL error 6: Could not resolve host:"  on WordPress on my vps server...I have also noticed it in other applications as well. As a consequence, ...
3
votes
2answers
205 views

How can I set a custom DNS server within Nixos?

I've not found much information in the manual. I've tried to manually modify the file /etc/resolv.conf however this seems to be overwritten by something? How can I achieve this?
0
votes
0answers
38 views

Setting up multiple network interfaces using /etc/network/interfaces

I'm trying to setup my 4 network interfaces to have a specific dns-nameservers and dns-search so I can be connected to my domain using any of them but it's not working properly as when I run systemctl ...
1
vote
1answer
270 views

Reverse DNS fail

I have an installation of Zimbra 8.7 CS multi server Server A: single-server installation (mail.jbv.cl 200.54.163.182) with two domains (jbv.cl and grupojbv.cl) Server B: a second MTA (smtp.grupojbv....
2
votes
2answers
5k views

DNSCrypt, Unbound and DNSSEC

I would like to have an encrypted DNS queries + a DNS Cache + Domain Name System Security Extensions (DNSSEC) . I used this bash script to install DNSCrypt and I choosed to use dnscrypt.eu servers : ...
0
votes
1answer
304 views

How to disable network-connectivity-check on linux mint?

(Virtualbox OS: Linux Mint 19.1 Tessa) I am trying to disable the network-connectivity-check on Linux Mint. This website shows how to disable it in the GUI for Ubuntu 17.10. Unfortunately in Mint ...
14
votes
6answers
110k 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 ...
0
votes
1answer
132 views

Force run a dhclient script?

I'm seeking to prepend a local resolver into /etc/resolv.conf using a dhclient script at /etc/dhcp/dhclient.conf: prepend domain-name-servers 127.0.0.1; Is there a way for me to force dhclient to ...
0
votes
0answers
79 views

Can't resolve domain with Unbound (DNSSEC problem?)

I'm using a raspberry with pi-hole and unbound (1.6.0) to manage my DNS. Some days ago, I recognized that I have troubles with some domains but I didn't thought about DNS problems on my side. Today I ...
10
votes
2answers
7k views

How does dig find my WAN-IP-adress? What is “myip.opendns.com” doing?

I needed to automatically get my own WAN-IP-adress from my router. I found this question and, among others, a solution with dig was proposed: dig +short myip.opendns.com @resolver1.opendns.com It ...
0
votes
1answer
116 views

i can't open, ping,.. any domain after upgrade debian

after upgrade debian i cannot open or ping any domain even in firefox (but i havnt any problem via proxy). for example wget: unable to resolve host address ‘google.com’ but i can work with ip (add ...
-1
votes
2answers
2k views

No internet on Linux Mint 17

I have been using Mint 17 for the past 2 months now and it didn't show any problem in networking. Recently, however, when I connect to WiFi it works fine for a while, but when I leave the system idle ...
6
votes
1answer
9k views

Dnsmasq white list for specific clients on network

I'd like to use dnsmasq to set up a white list for certain clients on my network. For instance, I'd like to have these rules for clients in the range 192.168.1.10 - 192.168.1.20: no-resolv server=/...
3
votes
2answers
5k views

What happens in a recursive dns query, if ttl = 0?

In name resolution (current version of bind), what happens when a recursive answer reaches ttl 0 on the return trip?
5
votes
4answers
12k views

How to fix OpenVPN DNS leak

I just subscribed to a VPN provider. I have Xubuntu 17.10, openvpn 2.4.3. After launching the openvpn command I check the IP (fine) and performed a simple DNS leak test: not fine, it shows my ...
3
votes
1answer
34 views

Nameserver locked on public access point

I can connect to a wifi hotspot that is free and only asks registration (this is the city's facility). I got kicked from using it, because it detected my Tor usage. But thankfully, it was only ...
0
votes
1answer
91 views

DNS + DHCP in home lab [closed]

Setting up a home lab. I was originally planning on using static ips for everything and then powerdns + poweradmin for DNS. Recently though it dawned on me that it would be a lot simpler to just use ...
1
vote
0answers
87 views

Fedora 29 VirtualBox will not use DNS from host VPN

I am running a Windows 10 machine for work (required) and so use VirtualBox to get a Fedora 29 machine so I can run code locally before pushing to production. Our github is behind a VPN and we use ...
21
votes
5answers
56k views

Iptables to redirect DNS lookup IP and Port

I have discovered that my ISP (verizon) is intercepting all DNS traffic on port 53. Using iptables, I want to redirect all DNS lookup traffic to a specific IP and Port (5353). Any attempt for my ...
0
votes
1answer
26 views

Should I configure the DNS2 to an other company's DNS address?

When I configure the interface's DNS, we often configure 8.8.8.8 and 8.8.4.4, but I have a question, because the 8.8.8.8 and 8.8.4.4 all are belong to google. will the bellow be better than the ...
1
vote
2answers
761 views

Iptables masquerade breaks dns lookups

I'm testing something with IP masquerade on locally generated traffic but it seems to be breaking DNS lookups. Everything else works fine--all IP traffic without DNS queries work. $ iptables -t ...
9
votes
4answers
29k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its own ...
1
vote
2answers
3k views

Name Lookup takes a long time

I was using a script that uses curl. Quite often curl fail. The error is name lookup timed out I tried to ping google.com and and other sites. Indeed dns (or whatever do the translation from domain ...
1
vote
1answer
318 views

Redirect all outgoing DNS queries to local stub resolver at 127.0.0.1:53

I am attempting to redirect all outgoing DNS queries on my Linux box to my local caching stub resolver (unbound). iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to 1.1.1.1:53 iptables -t nat -...
2
votes
1answer
2k views

dnsmasq as dns only, map mac-address to hostname for dynamic ip

I'm using dnsmasq as a DNS server only (no dhcp), mapping Lan's hostnames to relative ip using /etc/hosts, but in the same Lan there's some ip assigned dynamically by a router (and I'd like to keep so,...
240
votes
12answers
665k 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)
3
votes
1answer
142 views

Make separate mail server from web server [closed]

We have one physical server: there are www (web site) and mail on it. Server has 2 public ip addresses, one for www and one for mail. Server also has DNS on it, O/S is Red Hat Linux. We want to ...
3
votes
1answer
172 views

How do I force dnsmasq to use a specific DNS server without affecting the host systems DNS settings?

How do I set dnsmasq to use one specific DNS server without changing which DNS server the host system uses for its own DNS requests? I should clarify I am not using dnsmasq as a DHCP server but only ...
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
249 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 ...
-1
votes
1answer
943 views

Error in named.conf

I am getting the following error: Starting named: Error in named configuration: zone blk1999.lab/IN: loaded serial 2001062501 zone localhost.localdomain/IN: loading from master file named.localhost ...