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
0
votes
0answers
46 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
131 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
44 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 ...
1
vote
1answer
2k 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
140 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
20 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
77 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 ...
1
vote
1answer
516 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
32 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
38 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
228 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
66 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
65 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
229 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
19 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
458 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
47 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
404 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 ...
1
vote
3answers
513 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
4answers
74 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
40 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
57 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
168 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
489 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
34 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
200 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
159 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
512 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
30 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, ...
0
votes
1answer
63 views

Different page from a browser and wget [closed]

EDITED TO REMOVE OBSOLETE EXAMPLES I have a very curious case that has dumbfounded me. I was trying to get a certificate from letsencrypt and I was consistently getting errors that certbot is unable ...
1
vote
1answer
427 views

BIND Reverse DNS Ignoring out-of-zone data

I have a simple, single-address reverse DNS PTR for 10.142.0.2 to gbox.example.com record set up like so: # cat /var/named/zones/0.142.10.in-addr.arpa.db $ORIGIN . $TTL 1D 0.142.10.in-addr.arpa. IN ...
0
votes
0answers
361 views

Bind - Configure different Forwarders only for Specific Domains CDNs (eg. Wetransfer, Cloudflare, Amazon AWS)

INTRO I've setup a linux box where there's a BIND that serves me as a local dns. Basically by taking advantage of RPZ I can restrict some hosts and at same time with DNSCRYPT I forward everything to ...
7
votes
1answer
541 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 ...
6
votes
2answers
622 views

systemd-resolved block a domain name

Using systemd-resolved how do I block, route, or resolve, a domain name to a black hole, or a nowhere address. Bonus points for subdomains as well. I tried a single domain in /etc/hosts: 127.0.0.1 ...
-1
votes
1answer
244 views

List DNS Servers Obtained Via DHCP

Is there a way to list the DNS servers obtained through DHCP alongside IP addresses information (equivalent to the Windows command "ipconfig /all")? It seems needlessly tedious to run either "nmcli ...
2
votes
1answer
771 views

resolve my ip with dig returns empty string

When trying to resolve my public IP address I get an ampty string ip=$(dig +short myip.opendns.com @resolver1.opendns.com)
0
votes
1answer
68 views

Some web sites can not be reached [closed]

With my laptop running an arch-linux I can not access some websites when I am at home like for example: https://www.wikipedia.org/ https://wiki.archlinux.org/ https://www.leo.org/ But I can access ...
0
votes
1answer
69 views

Adminstering GoDady using CLI/API

Is there any tool CLI/API where one can automate the GoDady DNS related operations such as addind/removing DNS records and managing SSL certificates and domain names? without wasting time around on ...
0
votes
1answer
121 views

Debian 9 allows hidden DNS queries?

In previous Debian Jessie I could configure iptables to restrict DNS traffic to my own router (192.168.1.1): Chain OUTBOUND (1 references) target prot opt source destination ...
1
vote
2answers
26 views

servresolv.conf become blank when system is running

I use dhcpcd to manage this file. First, start dhcpcd service, and the file has something with namesever. All things can be done correctly. But this file will become blank after a while. I try ...
0
votes
1answer
65 views

Restricting systemd units to specific host based on DNS alias?

I know that it is possible to restrict systemd units to a specific host by using the ConditionHost condition in the unit file. This ConditionHost is tested against the result of calling hostname. ...
0
votes
1answer
112 views

How to locate the module that handles DNS resolving in buildroot?

I have 2 different Linux devices, one's kernel is done using ltib (L from now on), and the other's by buildroot (B from now on). I manage to add a DNS resolver to B by using: echo "nameserver 8.8....
0
votes
2answers
245 views

not all nameservers are looked up

So I have multiple nameservers in my /etc/resolv.conf, but regarding the order in which they appear, I am able or not to resolve my corporate VPN hostnames: when VPN's DNS precedes my local one, I am ...
0
votes
1answer
276 views

Domain Name Routing on Ubuntu Server [closed]

I am trying to route my domain name on my DigitalOcean Ubuntu Droplet. I was curious if there is a default location where I can go to route this or if it is not that simple. The server is running ...
-2
votes
1answer
84 views

Tracing DNS request

I have static IP in my Debian Lenny system and ping by IP to Internet works fine. Unfortunately www.google.com is not resolved by name. I can't install any additional software to my Linux since it ...
0
votes
1answer
1k views

dnsmasq not working after reboot

After rebooting, dnsmasq service is running, but does not respond to remote requests (trying using "dig @10.0.0.1 stackexchange.com" from another machine). The log looks good in my opinion: Aug 11 17:...
1
vote
1answer
468 views

How do I specify the order that Network-Manager populates /etc/resolv.conf

Network Manager is posting the correct name servers and search domains into /etc/resolv.conf when I restart the network. However, it is not in an order I like. How can I tell Network Manager to ...
0
votes
0answers
63 views

How to address error messages when using openntpd's “constraints from” feature?

My openntp configuration is as so: servers pool.ntp.org sensor * constraints from "https://www.google.com" And I am seeing the following messages: constraint request to 2607:f8b0:4007:80b::2004 tls ...
-5
votes
1answer
543 views

DNS spoofing in Kali Linux [duplicate]

I'm trying to learn some stuff about DNSspoofing, but it didn't work well for me. Here's what i have done. step 1 : turn my NIC into promisc mode using the following command ifconfig wlan0 promisc ...