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
0answers
27 views

How can I set an `example.xyz` name on `127.0.0.1`?

I've installed bind and I want to set a name on 127.0.0.1. How can I do that? I know changing /etc/hosts may works, but I want to set this settings on my dns server.
0
votes
1answer
11 views

How to force libvirt to use the host dnsmasq service?

Libvirt has one defined network, which uses dnsmasq as DHCP/DNS server. But this dnsmasq is a separate instance (config in /var/lib/libvirt/dnsmasq/default.conf), which creates additional dnsmasq ...
0
votes
1answer
9 views

How to connect to libvirt VMs by name, instead of IP address

I want to connect to my libvirt virtual machines by name. I used to be able to do that - is it just not possible any more? I don't really want to muck around with extra manual configuration for each ...
0
votes
0answers
28 views

How to properly enable DNSoverTLS on Systemd

I came across this strange problem the other day. I enabled DNS over TLS(DoT) months ago on my laptop. My laptop had been sitting at home until I decided to take it with me to town. Recently I ...
0
votes
0answers
13 views

FreeIPA DNS doesn't work until server ping all hosts

I have a FreeIPA server installed on CentOS 7 running as VM on Vmware Workstation. Everything seems working. But when I turn on clients, they can't ping each other by their hostnames. From IPA server ...
0
votes
1answer
18 views

resolving a subdomain with dnscrypt-proxy returns an IP address but claims that the domain does not exist

I am using dnscrpyt-proxy as a local stub for using DoH. Resolving subdomains claims that they "probably" don't exist or are blocked by the proxy but the IP returned is correct. I am not ...
1
vote
1answer
18 views

Setting domains in resolvectl results in timeouts

For some reason I can't manage to set domains for resolvectl. Either I don't understand what it does at all or something is weird for me. Once I set a domain e.g. sudo resolvectl domain enp2s0 example....
1
vote
1answer
57 views

Create DNS query with Netcat or /dev/udp/

I'm trying to send a valid DNS request with either nc or bash and /dev/udp/. I created a valid DNS packet to use as a template: tcpdump -XX port 53 Then, in a new terminal made a request with curl: ...
-1
votes
0answers
56 views

How to set ns1 and ns2 on CentOS8

I Know maybe my question is very common But How I can set DNS like ns1.domain.com and ns2.domain.com on CentOS 8 manually? The network interfaces are managed by NetworkManager. I want to achieve that ...
0
votes
2answers
66 views

How can a program be resolving an FQDN without a valid resolv.conf?

I've just found a bug in an embedded linux machine caused by a broken /etc/resov.conf. Specifically this was a broken symlink. The thing I can't explain is why some (many) of them ever worked. The ...
0
votes
0answers
26 views

Network connection spotty on Ubuntu without a VPN

I've been running Ubuntu for a few years now, but have now run into a problem where my network connection is close to un-usable unless I'm connected to a VPN. I am able to navigate to google and ...
1
vote
1answer
19 views

Setting up Samba as AD DC

I'm trying to set up a linux server as a Windows domain controller using Samba, and... something's going wrong. I'm working from the directions at https://wiki.samba.org/index.php/...
1
vote
0answers
22 views

systemd-resolved browse for mdns services

Can systemd-resolved be used to browse for mdns services the same way like avahi-browse? For example: $ avahi-browse _smb._tcp + eno1 IPv6 PC1 Microsoft Windows ...
-1
votes
0answers
18 views

Adding an additional 'router' type software in a VM to allow host to access VPN with M$-only client

I'm forced to use a proprietary VPN client, and the Linux version is broken. By contrast, various tools including Chrome and M$ Teams 🤮 do not work on my Windows 7 virtual machine due to strange ...
1
vote
0answers
42 views

How to disable IPv6 short hostname resolution

For a long time I've been able to SSH to other hosts on my network just with the short name, e.g. ssh otherpc and it recognises it's a short name, adds the DNS search suffix, does a lookup for otherpc....
0
votes
1answer
40 views

Why does /etc/resolv.conf contain “search attlocal.net”?

For Linux Mint 18.3 I began by reading several posts here and elsewhere about /etc/resolv.conf. Some of those posts reference -- but do not explain the function of -- a line of the form search ...
-2
votes
0answers
15 views

debian server shows network unreachable error when sending ping and is therefore not reachable or able to reach

Im running debian 10 on a virtual server. I'm quite new to this topic. My problem: At some point the server was not reachable any more and nmap says that the host is down. The network interface is ...
0
votes
0answers
14 views

Using systemd-resolved to resolve separate DHCP-derived domains

So this is a slightly weird setup, but I feel this should be possible to accomplish. I'm just not sure how to make systemd-resolved do what I want it to do here. I have two separate DHCP-derived ...
0
votes
1answer
30 views

Can't access subdomains on apache

My objective is to create 2 sites site1.example.com and site2.example.com in two VirtualHosts and use /etc/hosts for resolving.The problem is that I can access the main domain example.com but none of ...
1
vote
1answer
72 views

What is the difference between resolvconf, systemd-resolve, and avahi?

I'm currently working on a project that has required some DNS troubleshooting, however I am fairly new to the wonderful world of networking and am at a bit of a loss as to where to begin. My specific ...
0
votes
1answer
42 views

systemd-resolved attaches DNS domain to query

I connect to a remote VPN using NetworkManager and the openconnect (Cisco Anyconnect) pluging under Xubuntu 20.4. All works fine, except DNS resolution of services inside the VPN. The remote VPN ...
0
votes
2answers
36 views

DNS custom local network

I have a small single-board computer running armbian and set up as an AP with Network Manager. This board is also hosting a HTTP server allowing me to run a website from it on my local network. I ...
0
votes
0answers
50 views

ISC DHCP dhclient: How to supersede DNS name servers with IPv4 and IPv6 addresses?

I want tp supersede the name server information, which I get from the DHCP server with my own configuration. Therefor I'm using the following option in my /etc/dhcp/dhclient.conf: supersede domain-...
0
votes
0answers
43 views

Create network namespace with full network access [LINUX]

I created a linux namespace using this script : read -p "ip : " ip ip netns add myvpn ip netns exec myvpn ip addr add 127.0.0.1/8 dev lo ip netns exec myvpn ip link set lo up ip link add ...
0
votes
0answers
30 views

Assign “dns” and “dns-search” via Network manager configuration to a tun device with existing IP

I'm trying to find universal configuration for NetworkManager, where I can assign DNS and domain search for a specific vpn tun interface called "nebula1". Upon going up, the Nebula VPN assigns it a ...
0
votes
1answer
32 views

How can I Host a Website on a Local Server with Port 80 Redirect and a Dynamic IP?

I am on Three Mobile UK which only issue a dynamic IP and apparently blocked all http ports including 80 so I got a domain stephenogidan.ddns.net from No-IP to fix this issue. So far, I haven't been ...
1
vote
0answers
10 views

How to configure avahi/nss_mdns to append .domain when using short names

I have environment with 2 or more servers (Ubuntu 18.04) each running avahi-daemon. Avahi configuration file looks like: [server] host-name=n11 domain-name=alocal browse-domains=alocal use-ipv4=yes ...
0
votes
1answer
17 views

Understanding the dig's DNS query: Does dig set non zero value for Z field?

When I was scrutinizing the DNS query sent by the dig, I found something odd from what RFC's state. I don't know the different variants of DNS protocols out there, but from RFC 1035 Z : Reserved ...
1
vote
2answers
36 views

Can a pointer point to another pointer instead of a label in DNS compression?

Should DNS clients be worried about the DNS message compression in which pointers may point to another pointer instead of label name? Although doing so seems to be unambiguous, there is not talk about ...
1
vote
1answer
56 views

In IPV6, what should I do if the last 2 boxes only contain 3 characters?

I'm setting up a new router which actually allows me to change both my IPV4 and IPV6 DNS Servers. I'm adding AdGuard DNS for both and setting up the IPV4 was no problem at all since I've done it a ...
0
votes
1answer
408 views

WSL - DNS not working when connected to VPN

I've used WSL Bash/Ubuntu for several years, but for some reason this problem recently appeared. DNS is unable to resolve any names, both internal and external. The first time I re-installed WSL I ...
3
votes
2answers
105 views

Why does dig +trace take seconds to complete?

The sum of the DNS queries for the following dig command take less than 200 ms to complete, but the entire command takes over 4 seconds. Why does dig +trace take so much longer than the sum of the DNS ...
0
votes
1answer
40 views

Trying to understand the /etc/resolv.conf

I am trying to understand the entries in the /etc/resolv.conf file in linux systems. The file contains a list of keywords and values. This is an example of the contents of the /etc/resolv.conf: ...
-1
votes
1answer
34 views

Updating a mutable named set in nftables with responses from bind

I need to apply an nftables rule to all traffic originating from a specific host, but the packets will not necessarily include the proper FQDN, so I need to rely on the IP address(s). The issue is ...
2
votes
1answer
58 views

Problem running CURL with the dns option

I'm using curl for a while now to debug my non-prod web services. When I'm using the --dns-servers option, I always receive an error that this feature was not found: curl --dns-servers ...
0
votes
0answers
44 views

Ubuntu does not use DNS server from router

I cannot solve DNS resolution on UBUNTU 20.04. If I check the IP values after connection it is showing the right DNS server address, but in NSLookup the DNS server is not listed, and it comes back ...
0
votes
1answer
975 views

Override Ubuntu 20.04 DNS using systemd-resolved

How do I configure an Ubuntu 20.04 system so it overrides the default DNS? It seems that by default there is a global and per-link DNS setting. I tried a couple of things that did not work: Edit /...
0
votes
0answers
49 views

Device or resource busy - getaddrinfo

I'm on a CentOS 7 VM running PG, MariaDB, sidekiq and apache httpd. Sometimes my logs are spammed with errors such as: unable to resolve address: System error WARN: Mysql2::Error::ConnectionError: ...
0
votes
1answer
87 views

How do I resolve DNS addresses with Automotive Grade Linux (Halibut 8.0.0)?

I have Automotive Grade Linux (Halibut 8.0.0) installed on a Qualcomm board. I can bring up ethernet okay. sa8155:~# ifconfig eth0 up sa8155:~# udhcpc udhcpc: started, v1.29.3 udhcpc: sending ...
0
votes
0answers
33 views

Weird : Can't ping another machine by its hostname but ONLY from a specific machine

I have a machineA, ip 192.168.0.171. I can ping it from all the machines on the network, but not from machineB - by hostname. Using its IP address, it is pingable. From MachineB, I can ping all the ...
1
vote
1answer
31 views

Dnsmasq can't forwarding .local DNS query

I have a windows AD/DNS server. Domain is xxx.local. IP 192.168.3.100 At a same time I have a special subnet use dnsmasq service. these subnet computers can't get any xxx.local records from server ...
1
vote
2answers
97 views

DNS lookup against PiHole fails for local hostnames on 20.04 (works on other systems)

External DNS lookups work without issues, but anything for a non-FQ domain (i.e. only the hostname portion) fails unless I explicitly force it to use the PiHole to resolve it. nslookup myhost # this ...
0
votes
2answers
61 views

Wrong DNS answer when using ping from iputils-s20180629 and the shortest DNS name (with a 'A' record): dk

I wonder why ping fails to retrieve the ipv4 of dk TLD on my Debian 10. It's a valid domain name, the shortest I ever know on earth via dns (with a A record). Good to test network connection. When I ...
1
vote
2answers
51 views

In SSH Local Port Forwarding what DNS server is used to resolve the host (not the ssh gateway)?

In local port forwarding, what DNS server resolves the name of internal_db.local? Would that be the internal SSH server's DNS? (that's what I would think) Or is it the external DNS server that ...
-1
votes
1answer
14 views

lan intranet only Ubuntu 18.04.4 - wordpress under apache2 is not available to android or IOS but is completely available from WIN10 client

I have recently installed Apache2 on a stable installation of Ubuntu server 18.04.4 and completely installed a working version of wordpress which is working for internal development work. I can't ...
0
votes
1answer
69 views

/etc/resolv.conf on CentOS7 doesn't seem to honor options

# uname -a Linux myserver 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) # cat /etc/...
0
votes
0answers
25 views

iptables redirect DNS queries to different port

I want to install a pi-hole in a virtual machine on my workstation at work SETUP Workstation: Debian with virtualbox, corporate IP address Guest: debian with pi-hole installed, NAT network ...
0
votes
1answer
88 views

DNS on apt not working inside docker containers, others work

I have this problem with Docker containers on one of my servers running OMV 5 on Debian 10. Temporary failure resolving About this setup. I have recently installed OMV 5 on two x86 and one ARM ...
-1
votes
2answers
40 views

MDNS multi-cast DNS and resolv.conf file

Can a MDNS ( multicast dns ) issue cause duplicate lines in the resolv.conf file? For example , we have the following resolv.conf file more /etc/resolv.conf search coronplesdf.hh.com server 108.16.1....
0
votes
1answer
113 views

Reverse Lookups to Local DNS Server Failing on Ubuntu 18.04

On Ubuntu 16.04 REVERSE lookups to a local DNS/DHCP bind9 server on the local network are SUCCESSFUL, while on the other hand, on Ubuntu 18.04 (and higher) the REVERSE lookups FAIL. All systems are ...

1
2 3 4 5
23