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
450 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
372 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
674 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
558 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
2k 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-...
20
votes
3answers
21k 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
858 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
291 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
549 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
185 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
339 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
985 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
71 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
31 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
112 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
76 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
370 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
420 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
923 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
699 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
823 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 (...
-2
votes
1answer
163 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?
2
votes
1answer
4k 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
948 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....
4
votes
2answers
10k views

How can I resolve hostname to ip using different DNS servers?

For my task, I need to block some hostnames, but since some websites may reply with different IP addresses to different DNS queries (for example, Google DNS and any other DNS server), I'd like to ...
1
vote
1answer
30 views

Find where a hosts rule is defined on macOS

Is there a way to find out how my system came up with the IP address for a certain domain? On my machine, pinging analytics.google.com returns 127.0.0.1, and I don't know how it came up with that. my /...
1
vote
1answer
372 views

How do I stop /etc/resolv.conf being repeatedly reset to point to 192.168.33.2?

On a windows host, I have two virtual guests on vmware workstation14. I have configured two adapters ens33 and ens37 for those guests, NAT and host only respectively. The vnet adapter for NAT on the ...
0
votes
3answers
154 views

IPTABLES CODE ISSUE

I am using iptables to block all the ports. However to allow ping www.google.com I am using the following code filter -A INPUT -p tcp --dport 53 -j ACCEPT filter -A OUTPUT -p tcp --sport 53 -j ...
2
votes
0answers
96 views

Can't setup opendns on Fedora 26

It's not my first rodeo, been using Opendns for like 10 years, I just don't know why it refuses to work now on Fedora 26. My ip is in my account and my dns is as follows and I restarted the PC ...
0
votes
2answers
53 views

DNS for guest VMs

On my Windows 10 pc (host) i have installed couple of guest VMs. The router provides dhcp and dns services to the host. If i want to configure DNS server on one of the guest VMs which would act as the ...
3
votes
1answer
3k views

DNS query response logging

I have configured a CC TLD with bind9. I have successfully configured query logging also. But I can not do logging of query responses. Please have a look of what I have configured for query logging: ...
0
votes
1answer
410 views

bind9 reverse resolve problem

i use bind for simple setup on my lan, just a cache for external domanin and the LAN internal resolver, the problem that the output of the reverse resolver is wrong, it should return only the domain ...
1
vote
1answer
889 views

Resolve local host without any DNS server?

Is there any way to resolve local host without any DNS server? Below is my config # ifconfig eth4 Link encap:Ethernet HWaddr 00:50:56:9C:4D:2F inet6 addr: 2004:c0a8:5b01:1:250:56ff:...
1
vote
2answers
261 views

Possible to host a parent and child domain on one bind server?

NB This is a repost of my previous question, which was put on hold, and asked to be reworded for better clarity (hope this makes more sense) I have a single DNS server with bind installed, which I am ...
8
votes
3answers
6k views

How do I verify I am using 9.9.9.9 for DNS?

I have several machines on my LAN. Most of them Ubuntu based. Router has DD-WRT (v3.0-r33675M kongac Release: 11/03/17) firmware. I have set DHCP to serve network settings for all my computers. ...
10
votes
3answers
2k views

Who does Linux ask when you perform a whois?

When you do: $ whois stackoverflow.com does your Linux first do a DNS query, find the IP of stackoverflow.com, and then ask the information directly there? Or does it ask a "root" whois server (is ...
0
votes
2answers
228 views

Receiving email on a fresh new Debian

I re-installed a fresh clean Debian 8 on my VPS. All is set up to default values. dpkg -s exim4 and dpkg -s postfix says that exim is not installed, and that postfix is installed. This is confirmed ...
4
votes
1answer
2k views

Only use /etc/hosts for resolving hostnames on Linux

I want to disable DNS lookups via DNS server and only resolve host names that are listed in /etc/hosts. I am on Raspbian 9. How would I set this up?
0
votes
2answers
4k views

Set DNS server in resolve.conf using wicd

Short version: How do I get a "nameserver" to be permanently saved in resolve.conf when using wicd for networking? Long Version: I got the following error message after attempting to update apt-get ...
1
vote
2answers
3k views

How do I fix IPv6 DNS server settings on Linux Mint 18.x?

OS: Linux Mint 18.2 Cinnamon + Windows 10 Pro; dual-boot. I have just used this web site http://test-ipv6.com/ to check my IPv6 readiness. Results on the Windows 10 Pro: Results on the Linux Mint ...