Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
17 views

dnsmasq dns nameserver priority parameters - strict-order

I have a setup specifying two DNS namservers. One in local, the other is external. The local one is a pihole, which itself forwards requests externally after url filtering. The external one is set ...
1
vote
1answer
37 views

DNS forward only

Need clarification on the documentation on this topic somewhat and wanted to get more info on the following but just can't put my finger on it. Below is a snippet from a DNS BIND 9.9 configuration. ...
0
votes
2answers
21 views

How to access a device connected in local network with hostname?

I tried accessing a webpage in a server within the local network with the host name of the device followed by its folder path and the name of the file(it is a basic php file). In first system it ...
0
votes
1answer
43 views

What are DNS server, resolver and stub resolver?

https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Description says Additionally, systemd-resolved provides a local DNS stub listener on IP address 127.0.0.53 on the ...
0
votes
1answer
19 views

Command to resolve domain name giving only IP address/in-addr.arpa

I currently this to return the IP address of a host or return the in-addr.arpa record: host $1 | perl -pe 's/.* mail is .*//; s/\n//;s/.* has address //;s/.* domain name pointer //;s/.* not found: ....
2
votes
0answers
23 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 ...
0
votes
1answer
38 views

Can nslookup but not ping after OpenSuse Tumbleweed update

Following the 02/09 Tumbleweed update my DNS seems to be broken. My wifi icon in top right has a question mark, ping google.com returns Name or service not known, but nslookup google.com correctly ...
-2
votes
0answers
36 views

What programs can list the resource records in the database in a DNS server? [on hold]

What programs can list the resource records in the database in a DNS server? Can I do that from a DNS client? Or must I log into the DNS server to do that? The resource records in the database of ...
1
vote
4answers
412 views

How shall I understand the format of `/etc/resolv.conf`?

How shall I understand the format of /etc/resolv.conf? $ cat /etc/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting ...
0
votes
1answer
19 views

Is it possible to suppress upstream DNS records with dnsmasq

Using dnsmasq, I can set new values for existing records, and add new records, event to a zone I don't own. But is it possible to mask or suppress an existing record ? In my case I want a CNAME to be ...
9
votes
3answers
1k views

How do `/etc/hosts` and DNS work together to resolve hostnames to IP addresses?

In Linux, how do /etc/hosts and DNS work together to resolve hostnames to IP addresses? if a hostname can be resolved in /etc/hosts, does DNS apply after /etc/hosts to resolve the hostname or treat ...
0
votes
0answers
66 views

How to install Postfix in an all default way (no setup wizard) and to be used with no email DNS records?

The following question is a follow up to this question. In a latest Debian 9 stable I desire to install Postfix to send email from my machine to my very own Gmail account by the quickest install ...
1
vote
2answers
85 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. I'd like to ...
1
vote
1answer
20 views

Debian 8 - Lan connection works but no internet [Unknown host]

I have a Debian 8 server that has been running great for about a year. All of a sudden I am no longer getting internet access. The server is connected over an ethernet cable and I can SSH into over ...
3
votes
2answers
67 views

Compare domain blocking by iptables vs dnsmasq-/etc/hosts

I now use dnsmasq, with a large /etc/hosts file obtained from Energized packs [https://energized.pro/#packs]. Some of these are quite large. Trying to get info from the dnsmasq team, which is still ...
0
votes
1answer
30 views

resolv.conf always empty

I have 2 different embedded devices...an old one running TI arago Linux and a Xilinx device (petalinux). On both I see the same outcome when adding dns-nameservers to /etc/network/interfaces and ...
0
votes
2answers
16 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
49 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
vote
2answers
126 views

How to deal with shared library problems in a non-working package

I installed bind-tools, the Arch linux alternative to dnsutils, but none of the tools work, all failing with the error: host: error while loading shared libraries: libidn2.so.4: cannot open shared ...
0
votes
0answers
14 views

resolv.conf dns-nameservers not working, but nameserver works

Hi all this is the content of my /etc/network/interface file on my uuntu 16.04 pc iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 dns-...
-4
votes
1answer
46 views

Where is the DNS config file?

In https://gist.github.com/mcxiaoke/055af99e86f8e8d3176e#redirecting-www-to-non-www Redirecting www to non-www Just add an "A record" to your DNS config, pointing to the same IP address as ...
0
votes
1answer
37 views

Devuan RFS. How to automate resolution of internal IP (LAN) addresses

System correctly resolves external hostnames (bbc.co.uk for example) but will not resolve any internal (LAN) ones. The question here is how to automate LAN lookups without having to modify hosts and ...
0
votes
1answer
59 views

How to setup DNS manually on Linux?

In Linux /etc/resolv.conf get often overwritten when we setup the DNS, because of the multitude of programs managing the DNS servers. How to properly setup the DNS ?
1
vote
1answer
39 views

Pi Hole DNS not working after configuring Wireless Access Point on Arch Linux in Bridge Mode on Raspberry Pi

I'm experimenting with a Raspberry Pi 3 Model B (running arch linux) and its WLAN module. Until today I had Pi Hole running on it for my entire network. The Pi stands where we have very poor Wifi ...
0
votes
0answers
19 views

Temporary failure resolving `mirror.fsmg.org.nz` when updating kali [duplicate]

apt update 0% [Connecting to mirror.fsmg.org.nz] Err:1 http://mirror.fsmg.org.nz/kali kali-rolling InRelease Temporary failure resolving 'mirror.fsmg.org.nz' Reading package lists... Done Building ...
0
votes
1answer
30 views

Block or drop DNS requests within forwarded packets

I have a default Debian 9 installed in minipc, which is forwarding packets further. I wish to be able to block hosts via domains, means if any forwarded packet of DNS type has request for example of ...
0
votes
1answer
91 views

mail fails with Name service error Host Not Found

when attempting to send mail I get Name Service error Host not found. This happens when using mail command: mail root@office1.oraclebox mail root@office1.oraclebox.com mail root@office1.oraclebox.vm ...
1
vote
1answer
118 views

Understanding why hostname -i returns strange IP address

I am referencing the following question because it's similar but not the same: hostname -i returns strange result in linux On my CentOS 7 system, I get a strange IP address from "hostname -i" after ...
0
votes
0answers
23 views

Why is BIND DNS zone transfer update not displaying on terminal screen but showing in logs as up to date?

I have configured a master/Slave zone, the zone transfer happens but does not display on the terminal screen, on the terminal screen it shows notifies ONLY, but when I check the /var/log/named the ...
1
vote
1answer
29 views

initial DNS zone transfer too slow, too slow to update, any configuration to speed it up?

I have configured a master/Slave zone, the initial zone transfer is too slow and no changes have happened over the course of 10 mins, the only update I have seen so far is 2 updates, this is in a test ...
0
votes
1answer
37 views

DNS Slave says failed to connect: host unreachable

I have a DNS Master (192.168.102.159) and Slave (192.168.102.132) servers, both are VMs, the Master configuration is fine and does both forward and reverse lookups, however, when I try zone transfers ...
0
votes
1answer
38 views

Cent OS VM not resolving DNS via nslookup ?! all zones/conf OK

I have virtual setup on NAT in VMWare with a Cent OS as a DNS Server (192.168.102.159), I ran the zone and conf test through bind named, allresults are OK, when I run nslookup from a client I get : ...
2
votes
0answers
45 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. ...
1
vote
3answers
54 views

Mapping a range of IP's to a domain name in hosts file

I work with Wi-Fi. Due to that my system's IP changes every time I connect to the network. For my work, I need to map my IP to a specific domain name. So, every day I need to make changes in my hosts ...
1
vote
1answer
15 views

There is any difference between this zone syntax?

I'd like to build bind zone files via Ansible. To decide how to structure the jinja2 template I need to know if there is any difference in any of these zone configurations: 1.) good old fashioned way:...
0
votes
1answer
71 views

bind 9.9.4 rndc: connection to remote host closed

I have installed bind-9.9.4-72 on CentOS 7.6 and everything seems working i can query my local zone and remote address etc. but somehow rndc not working This is what i did to configure rndc rndc-...
1
vote
0answers
23 views

DNS for netdevices [duplicate]

I apologize for my English. So, for example, there is a cisco switch with the following config: hostname cs ip domain name office.local ip name-server XXXXXXXX Is it possible to make that the ...
1
vote
0answers
46 views

DNS for Net devices [closed]

I apologize for my English. So, for example, there is a cisco switch with the following config: hostname cs ip domain name office.local ip name-server XXXXXXXX Is it possible to make so that the entry ...
1
vote
1answer
67 views

Update of /etc/resolve.conf needs restart of application

I am working with an embedded linux Target (ARM) and have the following problem: When /etc/resolv.conf is updated, while a process is running (e.g. C Program using gethostbyname()) the running process ...
0
votes
3answers
121 views

UFW is blocking DNS requests through VPN [closed]

I have a very strange behaviour of my UFW on Ubuntu 18.04. I set up basic rules, everything is OK until I connect client to this server through VPN. On the client side ping works fine but nslookup / ...
1
vote
3answers
36 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. ...
-1
votes
1answer
36 views

How to forbid my PC in LAN to make DNS queries? (in a PC -> VPN gateway scenario)

scenario: i have 2 pc's that are connected to each other over ethernet in a lan and one of the pc's is configured as a gateway that tunnels the traffic of the other pc over to a vpn service. ...
0
votes
1answer
34 views

using local dns to allow domain based transparent proxy

I am from iran and some websites are blocked for iranian ips (like nvidia and intel and so on). there is this website that advertise that I can access those domains buy just changing my dns to theirs. ...
1
vote
0answers
53 views

request.getRemoteHost() returns IP address instead of FQDN

I am designing a servlet in which I would like to determine the fully qualified domain name (FQDN) of the client. I am attempting to use javax.servlet.HttpServletRequest.getRemoteHost() in order to ...
0
votes
1answer
77 views

DNS zone not loading: Permission denied

i see in the named data file the zone i created will not load because of a permssion error: [root@office1 tmp]# cat /var/named/data/named.run info: managed-keys-zone: loaded serial 11 info: zone 0.in-...
0
votes
1answer
27 views

A question about DNS zone configuration file

Why does the DNS zone configuration file carry "1912"? [root@localhost redhat]# ls /etc | grep 1912 named.rfc1912.zones
0
votes
1answer
39 views

resolv.conf + is it necessary to defined the domain in resolv.conf [duplicate]

We have a DNS server at 103.16.36.88 that resolves all hosts and IP addresses. more /etc/resolv.conf # Generated by NetworkManager search Jupiter.com nameserver 103.16.36.88 domain Jupiter.com But ...
1
vote
1answer
38 views

do “search domain” in networkd configuration and LLMNR conflict?

in networkd man page, the search domains are used to handle single-label names: The domains without the prefix are called "search domains" and are first used as search suffixes for extending single-...
2
votes
2answers
151 views

How single-label dns lookup requests are handled by systemd-resolved?

I looked into the systemd-networkd and systemd-resolved: systemd.network(5) on manpages.ubuntu.com systemd-resolved.service(8) on manpages.ubuntu.com and I am confused by some words: systemd-...
0
votes
1answer
20 views

Exernal addresses not resolving

I recently changed ISPs. I got a new router. After a lot of messing about I have the router running almost the way I want it. However, since then my Raspberry Pi can't resolve external addresses. So, ...