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
256 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
691 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
1k 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
155 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
207 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
892 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

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
409 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
120 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
127 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
183 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
815 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
345 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
169 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 ...
5
votes
3answers
12k 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
435 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
586 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
568 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
212 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
202 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
61 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
429 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
608 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
269 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
132 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
330 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
200 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
809 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
232 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
638 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 ...
5
votes
1answer
2k 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
70 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 ...
2
votes
1answer
260 views

How to Hide Dnsmasq version number?

It is possible to hide BIND DNS server version number, but how can you change it in dnsmasq? command to execute: dig localhost version.bind txt chaos
3
votes
1answer
2k views

How to disable ip6 lookups in unbound?

I attempted to disable IPv6 lookups in unbound through these options: do-ip6: no prefer-ip6: no Really prefer-ip6 should only take effect when do-ip6 is yes. In any case, I use tcpdump to dump the ...
1
vote
0answers
426 views

Can't use the resolution by name with kube-dns

I'm on a kubernetes cluster with 3 nodes that are all VM and they use to communicate a bridge that is an Only-Host interface: 192.168.99.101 master 192.168.99.102 and .103 the other nodes I have used ...
5
votes
2answers
1k views

Separate DNS configuration in each network namespace

I've set up several network namespaces on my Linux system (kernel version 3.10), and now I want to configure each network namespace to have its own DNS settings. I created resolv.conf files in each /...
1
vote
0answers
87 views

Repeated DNS query on Ubuntu

On my router, for my home network, in the DHCP server settings, I specified the primary and secondary DNS servers as 8.8.8.8, 8.8.4.4. I have Ubuntu 16.04.4 LTS installed on my home server. For ...
0
votes
1answer
91 views

How to setup a domain name for my website hosted on ubuntu?

I have created a django website and instead purchasing a hosting service, i have hosted the website on my own PC having public IP. Hence now i can access my website through my IP address. Next step ...
0
votes
2answers
79 views

Why does the NS records keep randomly changing?

dig NS soundshare.co.uk ;; ANSWER SECTION: soundshare.co.uk. 168415 IN NS ns-1179.awsdns-19.org. soundshare.co.uk. 168415 IN NS ns-1909.awsdns-46.co.uk. soundshare.co.uk. 168415 IN NS ...
2
votes
1answer
41 views

Unable to register SIP via WiFi

We run a FreePBX server on our LAN and softphones can register using the local SIP server IP. I need these softphones to be able to register over the internet too so we have configured the firewall ...
19
votes
2answers
23k views

How to configure systemd-resolved and systemd-networkd to use local DNS server for resolving local domains and remote DNS server for remote domains?

I'm connected to local area network with access to the Internet through gateway. There is DNS server in local network which is capable of resolving hostnames of computers from local network. I would ...
1
vote
1answer
398 views

dnsmasq's server option doesn't work for a specific domain

I have configured dnsmasq as a local DNS server. Now since my ISP does not resolve some-company.sharepoint.com I want to use Google's servers for the domain sharepoint.com. (See here for the windows ...