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
1answer
122 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
79 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
130 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
273 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
284 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
92 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
560 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 ...
-5
votes
1answer
557 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 ...
0
votes
1answer
276 views

Chainging proxychains DNS port

I am using a proxychains on Kali with a DNSCrypt nameserver which operates on port 443. When I start proxychains it tries to connect to the DNS server on port 53 and it returns a timeout. How can I ...
4
votes
2answers
3k views

How to make systemd-resolved stop trying to use offline DNS servers?

I have configured my DHCP server to supply two nameservers for redundancy, so that if one is offline the other one can be used. I have configured my PCs with systemd-resolved and according to ...
1
vote
2answers
760 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 ...
0
votes
1answer
2k views

How do I get DNSMasq to serve up DNS to Windows hosts without a domain?

I Have an Ubuntu 16.04 host (10.0.10.2) with DNSMasq installed which is only serving up DNS, and a couple Windows hosts on the same subnet, as well as a couple other Linux hosts on the same subnet. ...
1
vote
0answers
173 views

qemu guest is bypassing host's firewall

I've got a Ubuntu host running several virtual machines using qemu-kvm. Every guest should use our local DNS server, so I blocked outgoing DNS requests using ufw on the host machine: sudo ufw deny ...
1
vote
1answer
236 views

Can't get authoritative DNS server working (BIND9)

I'm trying to make a BIND9 DNS server work on a Debian server for an assignment at school. The problem is that, when I try to test my DNS server with dig -t soa my.domain.com @ns.my.domain.com, I just ...
1
vote
1answer
1k views

Can not resolve domains in all programs except ping

I've got a server for HPC usage, and it's RedHat. It appears to have a strange bug. I tried: $ curl https://www.aliyun.com/ -vv Couldn't resolve host 'www.aliyun.com' I tried these as well: wget ...
0
votes
1answer
1k views

DNS is not applied with systemd-resolved [closed]

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-...
1
vote
3answers
427 views

macOS Sierra (10.12.6) hostname command not appending “.local”

To be brief: From what I understand the hostname command has an option -f. From the man page: -f Include domain information in the printed name. This is the default behavior. As it's the ...
1
vote
1answer
131 views

How to find and change local DNS rules? [closed]

I'm trying to understand routing on my machine. On my VM, there is the address sandbox-hdp-security that resolves to 127.0.0.1. > dig sandbox-hdp-security ;; ANSWER SECTION: sandbox-hdp-...
0
votes
1answer
142 views

DHCP DNS and Domain resolution NetworkManager

My environment is following, all cabled with gigalan, all latest Debian 9, vm with virtualbox on 2 different physical hosts. A mikrotik internet router which acts as DHCPD I configured it setting ...
0
votes
0answers
202 views

How to update resolv.conf? [duplicate]

I am experiencing DNS resolution issues. I can ping an I.P. on my LAN but when I type it's URL into my browser it does not resolve to the I.P. and I can't access the webpage. I took a look at the ...
-2
votes
1answer
925 views

Can't resolve hostname on Linux server

Using Digital Ocean for a webhost, I setup 2 droplets, prod.domain.com, dev.domain.com. Where I manage the domain through Digital Ocean, I created 2 different A records (dev/prod) pointing them to ...
0
votes
4answers
361 views

Best practice DNS (resolving IP to hostname in LAN)?

Recently I've created my own thin client operating system (Xubuntu based, so basically Linux yes) that will run across our thin clients. Currently I'm testing the OS in my test environment, but I've ...
1
vote
0answers
184 views

Help understand output of dnsmasq logs and find performance issues by reading dnsmasq log

I have dnsmasq installed on server and it is heavily used. I have the following dnsmasq log in the /var/log/syslog when given the signal "SIGUSR1": Jul 16 13:45:50 server1 dnsmasq[427008]: time ...
2
votes
1answer
2k views

Use dnsmasq to pushing routes to my clients on a small local network

I'm trying to use dnsmasq to pushing routes to my clients on a small local network. However my clients (Server #1, #2 and #3) can not use these routes. The dnsmasq service is running and I do not ...
6
votes
3answers
13k views

Can not resolve .local domains internal to my office LAN

On Linux Debian 9 I am able to resolve a specific local domain e.g. my.sample-domain.local using some commands like nslookup or host, but not with some other commands like ping or the Postgres client ...
1
vote
1answer
463 views

tcpdump - realtime dns logger with pipe

I want to get DNS A records in realtime with tcpdump on stdout. tcpdump -i any dst port 53 | awk '/ A\? / {u = NF - 1; print $u}' | sed 's/.$//g' There is no output coming from the above line. ...
0
votes
1answer
629 views

Any DNSBL script to Unbound?

I know a lot of DNSBL lists (someonewhocares.org, abuse.ch, malwaredomains.com, etc...). I wish to know if anyone knows of scripts that can gather these lists (at least some of them) and compile them ...
0
votes
1answer
623 views

Dnschef: Fail to open log file?

I'm usin dnschef in my Linux machine, but it gave me this error. How to fix this issue?       Plus, I can use dnschef (which will use localhost network card lo by default) ...
1
vote
1answer
237 views

Google Domain forward to Digital Ocean linux server, running Apache2 subfolder, and display domain as root [closed]

I've been googling for a bit now, and I really can't seem to figure this out. I recently bought a domain name with google domains, that I wish to point to a sub domain on my web-server, (example) ...
3
votes
1answer
206 views

Dnsmasq hostnames on a public domain

I have an OpenWRT/LEDE router with Dnsmasq. I currently have a local domain (something.lan) that is appended to DHCP names, so I can access devices on my network just by connecting to, let's say, ...
0
votes
2answers
2k views

Pi-Hole Redirecting Domain to IP [closed]

I have a domain that points to the external IP of my webserver. I set up a Pi-Hole server and changed my network settings to use it, and I've verified it is working. I want to redirect the URL of my ...
-1
votes
1answer
62 views

Linux IP resolution issue [closed]

I uploaded a new Ubuntu based MISP virtual machine on my VMWare ESX. Configured it to use DHCP and IP address 192.168.10.6 was assigned to it. I am able to get the dashboard of the MISP application ...
0
votes
0answers
50 views

Cannot bind a local domain name to my system

I have added a new zone to /etc/named.conf as follows: zone "mysite.local" IN { type master; file "mysite.local.zone"; allow-update { none; }; }; Also, the zone file is as follows: ;File ...
1
vote
0answers
459 views

Using a nameserver provided by KVM host

My bridge device is set up on the 192.168.1.0/24 network, and my KVM devices are set up on a virtual network (NAT to br0) in the 192.168.100.0/24 network. I have a MAAS server in KVM at 192.168.100.10 ...
0
votes
2answers
633 views

OpenVPN - How to debug DNS leaks

I'm using minimal Antergos linux with i3wm, with all packages being up to date and the laptop rebooted. Using Firefox as a browser, I'm experiencing DNS leaks when visiting websites such as ipleaks....
1
vote
1answer
8k views

How to find the DNS server configured in Ubuntu and networking tools in unix?

I have heard that DNS configuration can only be IP address and not host name. How do I configure DNS server in ubuntu machine. If it should be IP address only then why this configuration shows the ...
0
votes
1answer
275 views

Why iptables is flowing? [closed]

I have iptables configuration: # iptables -L Chain INPUT (policy DROP) target prot opt source destination Chain FORWARD (policy DROP) target prot opt source ...
16
votes
3answers
3k views

Who reads /etc/resolv.conf?

My Centos 7 server doesn't resolve domain names properly. From what I see, in modern Linux systems /etc/resolv.conf is often generated with dhclient, dnsmasq or Network Manager. Thus I have a ...
0
votes
1answer
141 views

Why is my DNS server not resolving from an external system?

server1 and server2 are guest VMs in a KVM host machine: server1.example.com[192.168.4.210] : Configured as DNS server tcpdump output while query is running from server2 server2.example.com[192....
2
votes
1answer
362 views

BIND as a DNS server host command is refused

I am attempting to run my host machine as a DNS server, it will also function as the gateway. My /etc/named.conf is as follows: options { directory "/var/named/"; allow-query {127.0.0.1;...
0
votes
1answer
209 views

Relationship between the multiple possible configuration of domain name servers

There are many (IMHO, too many) places to configure the DNS server(s) used and I am not sure about the relationship between them. A few questions are: Which configurations are only queried ...
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 ...
4
votes
1answer
845 views

Why does *.localhost resolve to 127.0.0.1 and ::1?

I discovered by chance (trying to access a proxied service in a Docker container on a Vagrant box using servicename.docker.localhost from the host) that any hostname ending in ".localhost" resolves to ...
0
votes
4answers
262 views

Is there a command to perform just DNS lookups on a domain name?

Is there a command to perform just DNS lookups on a domain name? Such as dns unix.stackexchange.com which would return 151.101.1.69 and gbnjk.com would return error: domain not found.
2
votes
2answers
699 views

Freebsd clean install dns problem

I would like to try FreeBSD so installed 11.1 64bit on a VirtualBox VM. Out of the box there is no internet connection so as suggested here I did ifconfig and dhclient em0: dhclient already ...
6
votes
1answer
3k views

How to allow systemd-resolved to listen to an interface other than loopback?

systemd-resolved is a daemon that, among other things, acts as a DNS server by listening IP address 127.0.0.53 on the local loopback interface. I would like to let the daemon listen to another ...
0
votes
2answers
71 views

Configure a DNS-server for a domain

In Ubuntu I'm trying to configure a DNS-server for a domain. I haven't tested it yet because I haven't got access to the virtual box yet. But I can feel that it contains problems. Can someone spot any ...
0
votes
2answers
1k views

How to let resolveconf update DNS configuration when using NetworkManager

I've recently noted that my /etc/resolve.conf.head and /resolve.conf.tail files were being ignored by NetworkManager DNS changes. How to make use of them to add defaults nameserver configuration when ...