Questions tagged [dns]

For questions pertaining to Domain Name System (DNS), a service that provides the resolution of host names to IP addresses. Use this 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
1answer
8 views

dhclient.conf modifications do not change resolv.conf

When I modify my /etc/dhcp/dhclient.conf with prepended nameservers, after a network manager restart, the generated resolv.conf file does not contains these servers. I'm working on Kali Linux. Here ...
0
votes
0answers
19 views

Delay on first DNS lookup (and after long idle), timeout on AAAA record, but why?

I have a small home LAN with dnsmasq running on a Raspberry Pi to provide DHCP and DNS services. I have two systems running xubuntu 19.10 and on these systems I see a 5 second delay the first time I ...
0
votes
0answers
10 views

How to set up DNS when connecting to two networks with one stable and one dynamic nameservers?

I have a Fedora 31 linux machine with two network interfaces. They are both connected to local networks -- one is 192.168.*.*, the other is 10.*.*.*. The 192.168.*.* network connects to a router ...
0
votes
1answer
35 views

ping can resolve hostname, while dig is unable to resolve the same hostname?

ping can resolve hostname, while dig is unable to resolve the same hostname? I'm experiencing a strange issue, where ping is able to resolve some DNS hostname, while dig cannot. I've tried to dig +...
1
vote
1answer
32 views

Why Server is not able to resolve DNS

I setup DNS which will act as external DNS server. All settings are default , administrator told me to use Root hints file which is located under /var/named/named.ca. And root zone is mentioned in /...
0
votes
1answer
26 views

Strange cache on DNS forward zone

I have a corporate DNS server using Bind. I have 3 consul servers. Consul is listening on localhost port 8660 for DNS. On these servers I have also DNSmasq to forward DNS request from public IP port ...
-1
votes
0answers
16 views

Troubleshooting mDNS(?) to resolve LAN .local addresses; can no longer resolve ANY hostname

I was trying to troubleshoot why I can't ping local computers using the .local extension like I can on Windows/MacOS. eg I can't ping pi1.local on my CentOS 7 machine but can from others On top of ...
0
votes
1answer
25 views

How to Create a PTR Record for AWS Mailserver's Elastic IP Address

I configured an SMTP server (Postfix) on an AWS instance. However, as a defense against spam most well-managed emailservers will reject messages sent from any host whose IP does not resolve back to ...
0
votes
0answers
31 views

Is there a way to force client resolve instead of DNS in Bind

I am using bind as a public resolver for a domain which returns different IP address based on the viewer's location (using maxmind's db). Problem is that client queries are not from the actual user IP ...
0
votes
0answers
26 views

Linux Kernel Holding Packet?

I've been looking at a 3rd party program for DNS resolution (on an embedded solution) and in the code to send the DNS query to the upstream server it will connect() then send(). send() returns with ...
0
votes
0answers
47 views

How To fix unable to fetch some archives in ubuntu linux

In my server the resolvconf is not installed but when i try to install with this command sudo apt install resolvconf But When press enter i'm getting this error Err1: url Temporary Failure resolving '...
1
vote
2answers
27 views

DNS: Domain-dependant resolution possible?

Is it possible to configure a domain-depentant nameserver for address-resolution (e.g. resolv.conf)? e.g. nameserver 1.2.3.4 for any domain abc.com nameserver 4.3.2.1 for any domain cba.com ...
0
votes
2answers
36 views

Connection timed out no servers could be reached, port is open but connection refused

I'm trying to set up a dnsmasq on a CentOS 7. The machine is on local IP 192.168.0.50. From the DNS server I get the answer when using nslookup. But, when I use nslookup from another machine in same ...
0
votes
0answers
62 views

firefox bypasses dnsmasq

Appears that Firefox does not use system's dnsmasq for dns resolution. Chrome on the other hand does. System's dnsmasq process is caching results, so it's easy to verify: dig example.com - takes X ...
0
votes
0answers
21 views

Pihole not working

After running the automated installer provided on pihole curl -sSL https://install.pi-hole.net | bash it reported in FTL engine not installed but i was able to run pihole -d and results are here ...
0
votes
0answers
25 views

bind9.service: Reload operation timed out. Killing reload process

I've been facing a problem with bind9 over Ubuntu lts 16.04 Here is the output of service bind9 reload Job for bind9.service failed because the control process exited with error code. See "systemctl ...
0
votes
0answers
19 views

system-resolvd starts using local nameserver as DNS whenever network is not available

I have an IoT device that is connected to a node via a local wireless network. After doing the computations, the device tries to posts the data to the cloud. The device is connected to the internet ...
0
votes
0answers
34 views

Turning off ipv6 in CentOS 7

I am attempting to reduce network traffic. Every time httpd on our CentOS 7 box makes a dns query, I can see that both an A and an AAAA request type hitting our internal dns server. Since we are not ...
0
votes
0answers
18 views

Nameserver used in network namespace

I've created a virtual interface under a namespace so that my default connection uses a VPN and the namespace uses the raw network: ip netns add tor ip link add type veth ip link set veth1 netns tor ...
0
votes
1answer
34 views

How to make my machine think a given dns for xyz.com points to localhost

I want to be able to enter xyz.com into my browser but get essentialy some site running on my local apache. The catch is I don't feel like setting up a dns server to do the job. Is there a workaround? ...
0
votes
0answers
23 views

Trying to redirect all traffic on a access point to an apache internal web server on a raspberry pi but keep geeting name resolution error

I have been using https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md https://www.linux.com/tutorials/dns-spoofing-dnsmasq/ as guides. Basically I want is when someone ...
0
votes
0answers
24 views

Setting up a linux DNS server for a smart TV

I'd like to know if what I'm indtending to do is possible - I would like to set up a DNS server for my smart tv on a remote VM for it to be able connect to the internet through it. The server itself ...
0
votes
1answer
35 views

Alternative to modifying /etc/hosts for dns lookup

I am a networking newb - ping cannot locate certain dns names, so I put them in /etc/hosts like this: 10.128.0.22 kafka.marathn.meso 10.128.0.31 elasticsearch.marathn.meso and then ping can find ...
0
votes
1answer
39 views

Forward reverse lookups with Bind9

I have a DNS server with Bind9 installed, that has IP 192.168.145.119. This works as a resolver for a DNS server on IP 192.168.145.1. I have setup so it works as a forwarder when using ping, using ...
0
votes
0answers
14 views

Ubuntu Bind9 Configuration help

I'm new to Linux/Bind9 and could use some guidance on configuring a DNS server. I have Bind9 installed and (mostly) configured but have two issues I can't figure out. First, when using my Linux VM as ...
1
vote
0answers
76 views

DNS does not work: is DNS server of network manager broken?

I've something strange with DNS servers : I can't resolve url. The /etc/resolv.conf file seems to be managed by NetworkManager and points to 127.0.0.53 (looks good so far): $ cat /etc/resolv.conf # ...
0
votes
0answers
43 views

Prevent NetworkManager from setting ~. search domain per-link on systemd-resolved

I'm trying to use the DNS over at /etc/systemd/resolved.conf in their capacity as DNS over TLS providers, but NetworkManager somehow manages to set ~. as search domain on the connections it sets up. ...
0
votes
0answers
38 views

Problem connecting gateway to internet through cellular connection

I'm by no means an experienced person in this regard. Context, if you find it helpful We are developing an IoT solution for telemetry purposes. The device that retrieve the data to send it to the ...
0
votes
2answers
114 views

Local DNS stops working after 5 minutes

I have spent hours trying to understand this to the point, I did a clean install of POP OS 19.10 to see if this resolves the issue, and no it does not. This seems to work fine on my Mac Book, windows ...
0
votes
1answer
143 views

How to start a systemd service when (local) DNS resolution is ready?

How can I configure a custom systemd service to start only after DNS resolution is ready to be handled? The service is a oneshot script that mails me the current WAN and LAN ip addresses of the ...
0
votes
0answers
41 views

Where is Firefox' DNS cache stored on Fedora 31?

I would like to programmatically clear Firefox' DNS cache from a script. Where is Firefox' DNS cache stored in Fedora 31?
0
votes
0answers
241 views

How to set systemd-resolve DNS servers?

Ubuntu 18.04 is not respecting local configuration anymore. Since I cannot have my DHCP server advertising anymore the DNS servers, I want to set up the clients manually (LXD containers). I tried to ...
0
votes
0answers
224 views

openvpn 2.4.7 DNS not working at ubuntu 19.04

package's version: openvpn-systemd-resolved: 1.3.0-3 openvpn: 2.4.7-1ubuntu2 root@xps-13:~# openvpn --version OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/...
1
vote
0answers
55 views

On Ubuntu 18.04 what is the way to remove dnsmasq and systemd-resolved and switch to resolv.conf

I noticed that with introduction with the combo of systemd-resolved and dnsmasq in Ubuntu 18.04 network connectity is becoming a luxury feature. What is the correct way to remove these components in ...
0
votes
1answer
45 views

Redhat 6- Normal user cannot resolve hostname through proxy but root can

I have a linux server (in Nutanix) where normal user cannot resolve hostname through proxy but root can, below is the result: backup user: [backup@~]$ curl --insecure --url "https://outlook....
2
votes
4answers
135 views

Read file and print out ip-address to another file

I have big file that holds something like 40000 rows of domain names. I would like to read that file and use dig (or something else) to look up the IP addresses of the domain names in the DNS, and ...
0
votes
1answer
80 views

Pop!_OS - Internet (DNS) broken after attempting to fix captive portal public networks

The whole problem started at an airport, where I wasn't able to connect to WiFi on my Pop!_OS laptop. I Googled the problem on another device, and found this StackOverflow answer. Though the first ...
0
votes
1answer
120 views

Ip address is of 32 bit, which means 4 bytes. Yet all answers to question on 13 root dns servers say otherwise [closed]

All of the articles I read that explains why there are 13 root dns servers saying each ip address takes 32 bytes and hence (13 x 32) = 416 bytes leaving up to 96 bytes for other protocol information. ...
2
votes
1answer
99 views

dnsmasq behaving strangely: dig returns result for dns lookup, yet ping reports “host not found”

Since my router does not resolve hostnames of LAN devices, I setup my server to act as a DNS using DNSMASQ. DNS Server Specs ---------------- OS: Ubuntu Server LAN IP: 192.168.1.4 I have a ...
0
votes
1answer
88 views

Why is the number of DNS root servers restricted to 13? [closed]

There are many articles stating like the following: Because all the information of 13 root servers can be packed into a single UDP packet, but 15 or more cannot, so 13 was chosen. However, ...
1
vote
2answers
296 views

I use only dhcpcd and I want to make /etc/resolv.conf add search domain.local

I have a number of machines which do not use a network manager, and only use dhcpcd for setting the IP address. For example, my raspberry pi 4. I have statically assigned the IP address in the /etc/...
0
votes
4answers
252 views

Script to query a list of domains for MX records then query the answers for the IP addresses?

I need to check mail servers' IP addresses from a list of domains to see if they match a certain IP address. Specifically: Build a list of the domains I want to query Dig the MX record(s) of each ...
-1
votes
1answer
176 views

How does Nginx server_name directive work with CNAME record

Scenario I have a website served by nginx listen at domain myabc.domain.com. The nginx configuration is: server { listen 443 ssl; server_name myabc.domain....
0
votes
0answers
25 views

web browser stuck in dns look up, but drill result is good

web browser (tried both ff and chrome, similar symptom) stuck in DNS look-up for very long time. but drill shows reasonable results. what could have been the problem? I noticed drill using different ...
1
vote
1answer
116 views

Strange issue with DNS: drill works but getent hosts does not

I'm running Arch Linux ARM on a Raspberry Pi 4. I'm currently having an issue with the domain resolution. The "user space" applications including ping, web browser, etc. do not resolve hosts, although ...
5
votes
1answer
113 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 ...
0
votes
1answer
264 views

Keep getting DNS_PROBE_FINISHED_NXDOMAIN error

I am trying to remove the DNS that I have set to 8.8.8.8 previously but cannot seem to see where it gets the DNS from. In my wired connection I can see the DNS: Any help would be appreciated. EDIT: ...
1
vote
0answers
104 views

DNS round-robin and keepalived

I'm experimenting with a pair of HAProxy servers in an HA load balancing configuration. What I'd like to do is get a pair of IP addresses to put in a DNS round-robin, and have keepalived maintain one ...
0
votes
1answer
303 views

dhcp and dns dynamic update, is possible to override/renew the DHCID record?

I have a working dns+dhcp server. When clients receive the ip from dchpd server, it send the hostname to dhcpd+dns server and works fine. But there is only a problem: suppose a client called nagios1....
0
votes
0answers
109 views

ConnMan using VPN DNS server

I have a Raspberry Pi 3, which is running OSMC which includes connman for networking. I have it setup to create a tethered wifi which routes traffic through the ethernet. I now face a problem with ...

1
2 3 4 5
22