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
543 views

trailing dot in FQDN - when it is required?

This question - Can a domain name in the dns search list have a trailing period? Got me thinking so I figured I'd ask. Other than bind9 zone files (the only place I've actually seen a trailing dot "...
5
votes
2answers
174 views

Can a domain name in the dns search list have a trailing period?

A trailing dot represents that the domain is a Fully-Qualified Domain Name (FQDN). However, can a domain name in the dns search list be a FQDN? In other words, is this proper configuration? # /etc/...
2
votes
1answer
416 views

NetworkManager(dhclient) fails to update DNS server

I'm getting troubles trying to navigate in a new network, Network manager starts dhclient as follows: root 981 0.0 0.0 16124 3660 ? S 11:31 0:00 /sbin/dhclient -d -q -sf /usr/...
0
votes
1answer
154 views

Host command successful but DNS won't resolve

I'm trying to complete the setup of my Bind9 DNS server. Both Systems are running Debian Stretch. The serving machine (192.168.0.113) is a VM host and the client machine (192.168.0.104) is its ...
0
votes
1answer
169 views

Killswitch: block all connections except a Dynamic IP VPN (can't use iptables if I don't know the IP)

I have a VPN that I connect to via domain name, not via IP. (with OpenVPN, in Debian) VPN's IP is dynamic, can change any moment, by design, out of my control. I want my machine's only communication ...
5
votes
4answers
10k views

How to fix OpenVPN DNS leak

I just subscribed to a VPN provider. I have Xubuntu 17.10, openvpn 2.4.3. After launching the openvpn command I check the IP (fine) and performed a simple DNS leak test: not fine, it shows my ...
1
vote
0answers
39 views

Resolve a hostname and know where the answer came from?

As part of auditing a RANCID server, I would like to be able to figure out whether it's resolving a particular hostname via /etc/hosts, DNS or some other source. Is there a generic (without me ...
1
vote
1answer
364 views

How do I configure my DNS / DHCP / gateway server with 2 NICs to use its own DNS?

My SOHO lan is served by my main machine which operates as a router, firewall, gateway, DNS, DHCP server and backup server. I've set up bind9 and isc-dhcp-server to do DDNS for the lan clients, while ...
0
votes
0answers
265 views

connection refused ssh and dns

I cannot to ssh or nslookup to this machine vm1 that has the ip 192.168.56.2 from ferrari which has the ip 172.45.20.3. I do not know why, but I am able to ssh to the 192.168.56.2 from my host machine....
2
votes
1answer
2k views

server can't find vm3: NXDOMAIN

I'm having trouble querying a name server on a different network 192.168.56.0/24 for records that contain host, vm1, vm2, and vm3. And I do not understand why. Is there anyway someone can explain ...
1
vote
0answers
900 views

can I manually assign DNS server name with wpa_supplicant?

I am trying to run a Raspberrypi as a routing machine. It will be connected to wifi with wpa_supplicant. My PC ----> Raspberry Pi ----> Wifi Router The thing is I noticed, the RPi got from the wifi ...
2
votes
1answer
804 views

Mixed case DNS requests - Malware in my network?

I am seeing some strange DNS queries. They have seemingly random mixed case coming from machines in my network. Is it possible I have malware? $ sudo tcpdump -n port 53 16:42:57.805038 192.168.5.134....
1
vote
1answer
1k views

Default DNS server settings

I recently updated my Ubuntu which ended in a shot DNS config. I am able to add a nameserver to /etc/resolvconf/resolv.conf.d/tail (and restart the service) to get DNS resolution for everything ...
2
votes
2answers
4k views

how to extract just the IP address from a DNS query

I'd like to know how to extract just the IP address from a DNS / dig query. The query I'm running looks like this: lab-1:/var/# dig +answer smtp.mydomain.net +short smtp.ggs.mydomain.net 10.11....
10
votes
3answers
24k views

Why doesn't systemd-resolved use my local DNS server?

I'm using a local BIND9 server to host some local dns records. When trying to dig for a local domain name I can't find it if I don't explicitly tell dig to use my local BIND9 server. user@heimdal:~$ ...
0
votes
1answer
385 views

Reverse DNS lookup to match hostname in authorized_keys

I have several sysadmin laptops and a cluster of servers. I am administering / rotating ssh keys on the servers from a script (call it rotate_keys.sh) that will run on any of the sysadmin laptops. I ...
0
votes
2answers
320 views

Linux mint 18 can't connect to some websites while it can ping them

I recently installed Linux Mint with following information: DISTRIB_ID=LinuxMint DISTRIB_RELEASE=18.3 DISTRIB_CODENAME=sylvia DISTRIB_DESCRIPTION="Linux Mint 18.3 Sylvia" NAME="Linux Mint" And I ...
2
votes
1answer
1k views

DNS settings not working on lubuntu 17.10

Recently my DNS settings stopped working. They are the same settings I've had for a while now, and I don't know what has changed. Now each time I restart my system, I have no internet connection, ...
0
votes
1answer
548 views

Duplicate domain name in DNS query

I found out strange duplicate domain name in the DNS queries during tcpdump capturing on my RedHat server. It did not do any impact on my DNS names resolving. But it's not clear why my server sends ...
1
vote
1answer
508 views

Which configuration file has higher priority for DNS server settings?

For Debian, DNS nameservers can be set both in /etc/network/interfaces and in /etc/resolv.conf. Which file has higher priority for DNS server configuration?
1
vote
1answer
1k views

Is there a DNS cache file in my debian9?

No NSCD , BIND9 ,DNSMASQ installed in my debian9. Can my debian9 store DNS resolve records in the scene. Is there a DNS cache file in my debian9 ? chrome is a application soft in os. chrome://net-...
19
votes
3answers
18k views

What is the purpose of /etc/hosts?

As I understand it, the hosts file is one of several system facilities that assists in addressing network nodes in a computer network. But what should be inside it? When I install Ubuntu by default ...
0
votes
3answers
1k views

NGINX Redirect to Domain Name spoofed locally with DNSMasq

I have a Linux VPS serving data on the internet that has a legitimate Domain name and SSL Certificate ( from GoDaddy.com ). I will refere to this server as "www.myserver.com". I also have a local ...
1
vote
1answer
738 views

Setup DNS server and use it as a domain, within a LAN connection only. (Offline DNS) [closed]

I wanted to change my ipv4 address (172.50.10.1) into somewhat like www.jamesrin.com when the clients within the LAN access my server on their respective browsers. I've searched the browser. ...
0
votes
2answers
243 views

Linux DNS (named) service

how can I resolve some global web sites (google.com, Facebook.com) to local IP address (for example 192.168.0.1). Anyone can help me ? ; Authoritative data for facebook.com zone ; $TTL 1D @ IN SOA ...
0
votes
1answer
516 views

How to block https website with iptables?

I want to block some https website like youtube.com, facebook.com. I know that we can't block that using url rules. since the url is encrypted. So I tried to block all DNS queries which contain the ...
0
votes
1answer
157 views

Some hosts resolves slowly or does not resolved at all with dnsmasq

I am using corporate VPN to access internal resources. After connecting via Shrewsoft VPN client these internal resources had not been resolving because resolv.conf was always having DNS another than ...
0
votes
1answer
313 views

How to check and fix PIA VPN's DNS resolver issue?

By default on Linux Mint 18 is /etc/resolv.conf a symbolic link to /run/resolvconf/resolv.conf. ll /etc/resolv.conf lrwxrwxrwx 1 root root 27 Dec 1 11:04 /etc/resolv.conf -> /run/resolvconf/resolv....
0
votes
1answer
814 views

FEDORA 25 server: can ping an ip but not a url, can't update

I tried to update my home server today, but got an error $ sudo dnf update 'couldn't resolve host name' so I tried to ping anything in the internet, and for that I tried www.google.com, but it ...
0
votes
2answers
77 views

Is A record required to be same as PC name?

I'm configuring DNS server in linux and cannot understand these things. There is no information in the Internet about them: Must A record be same as PC name? For example, my PC's name is PC1 and in ...
1
vote
3answers
3k views

DNS can Resolve IP, but I can't Ping

I've got a imx7dsabresd board, I'm trying to write a script that will download an image every 30s from my server (wget). The output from wget is wget: error getting response: Connection reset by peer....
2
votes
0answers
1k views

Server can't find XXX.in-addr.arpa: NXDOMAIN

I am trying to make a DNS server with bind9 on ubuntu, but when I nslookup the ip I only get the NXDOMAIN status. Same thing happens with my domain www.peliluolaXXX.net. How to solve this? Here are ...
0
votes
1answer
58 views

Error in dns forward zone file

I'm configuring DNS server for the first time. My hostname is: mail.example.com I've added these into named.conf: zone "example.com" IN { type master; file "example.com.forw.zone" ...
0
votes
2answers
1k views

Order of DNS servers on client given by DHCP

I'm running DNS and DHCP server on debian 8 server within local network. Issue is that clients get nameservers by DHCP server in wrong/not desired order. DHCP server config: subnet 192.168.10.0 ...
1
vote
2answers
2k views

Why does nslookup fail for DNS records set to a private address?

Setup On some networks I'm able to use nslookup to resolve a domain name that is pointed to a private ip address: @work> nslookup my192.ddns.net Server: 10.1.2.3 Address: 10.1.2.3#53 Non-...
1
vote
1answer
30 views

How can I monitor requested IPs to a specific domain?

I have an A record in the DNS server which points to my server IP. Noted that I have multiple domain names which points to the same server too. Now I need to know, which IPs send a request to this ...
1
vote
0answers
89 views

DNS query to all available nameservers

I have managed to populate my /etc/resolv.conf with several nameservers when I bring up my VPN. The nameservers have two zones of operation, internal (through the VPN) and public (Exposed). Some of ...
-2
votes
1answer
69 views

Domain doesn't exist message

I'm Trying to send mail from my RedHat 5.9 machine. so a command look like this: echo "Test mail" | mail -s "test" tgc-olga@technion.ac.il will end up me getting an error mail look like this: > ...
1
vote
0answers
334 views

Samba4 Bind9 dynamic DNS Update Error GSS failure

I try to register my DHCP Clients to my Samba 4 based domain controller (DC). For this I followed the guide Configure DHCP to update DNS records with BIND9. I've searched around the internet without ...
0
votes
0answers
397 views

No DNS after upgrade-manager upgrade

I upgraded a Ubuntu Zesty to Artufl over SSH using upgrade-manager. All went well except for DNS. Name resolution fails, including ping. I still have an IP and I can SSH into it after reboot, but that ...
1
vote
2answers
2k views

How can I get DNS IP Resolution for an Internet Domain Name pointing to a locally-hosted Web Server from within a LAN (across multiple subnets)?

Cut to the chase: A specific question of mine is this: a client on 10.0.3.X/24 network cannot reach subdomain.site.com. How can I make clients on 10.0.2.X/24 and 10.0.3.X/24 able to resolve 10.0.1.4 ...
2
votes
1answer
822 views

DD-WRT DNSMasq logging help

I recently installed DD-WRT on my Netgear R7000 router and want to log DNS queries. So far without much luck. I'm running DD-WRT v24-sp2 kongac, build 23900M. syslogd is running and currently writing ...
0
votes
1answer
607 views

FreeBSD w/ two network interfaces and different domains

I have a FreeBSD machine with two NICs set up as follows: em0 ---> IP set via DHCP (192.168.1.0/24). "home" domain em1 ---> IP set statically (10.0.0.2). "lab" domain For all intents and ...
3
votes
1answer
718 views

How to override a vm DNS servers?

I'm running a CentOS 7 Virtual machine and it's picking up the DNS nameservers from my Fedora 27 system via DHCP I believe. I am trying to change the DNS nameserver in /etc/resolv.conf to google name ...
-2
votes
1answer
1k views

Nginx - creating a subdomain linking to another (local) website

I have an Ubuntu 16.04 based DigitalOcean VPS with a pure Nginx (I manage DNSs via DigitalOcean's DNS managing tool). In my Nginx environment I have 2 sites under /var/www/html/. One is example.com (...
1
vote
0answers
23 views

DNS issues after Torrenting [closed]

It seems as though after downloading a certain amount of files using a torrent site, my DNS will no longer resolve. I can ping any website (IP only) and still network internally. This has happened ...
-2
votes
1answer
139 views

What is root domain? [closed]

I'm taking a class in system administration and i find it hard to understand the concept behind Root domain. Can somebody explain in simple term the definition of Root Domain?
1
vote
1answer
3k views

Local (127.0.1.1) DNS resolver ignores LAN DNS server

I've configured a computer to act as a DNS server for my LAN (following roughly this guide). My main motivation is to be able to access my computers and appliances with URLs instead of IPs. It's ...
2
votes
2answers
2k views

I can't ping6 my domains from outside. Destination unreachable: Administratively prohibited

Setup Desktop computer (MyComputer) Mobo: ASRock Distro: Arch Linux Yunohost Server (Yunohost) Mobo: Raspberry Pi 3 Distro: Debian Main App: Yunohost/NextCloud Domain registered at godaddy.com (...
1
vote
1answer
838 views

cannot ping website but can ping ip, DNS not working

I am using an ARM target running Open Embedded Linux from Yocto, it has eth0 network interface from a private LAN network. I am able to ping an IP like 173.203.44.122 but using the name(rackspace....