The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

263 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
775 views

Resolving domains on Ubuntu 16.04.4 LTS does not work

Resolving domains on Ubuntu is not working 16.04.4 LTS. The home server is connected to the Huawei HG8245 router, the network on the server is parsed by NetworkManager. The NetworkNamager ...
0
votes
1answer
337 views

Cannot Ping Site but DNS Resolves

I am using DNS-crypt proxy as a local DNS server with cloudflare as the resolver. For some reason I cannot ping www.automaticwebforms.com despite the DNS resolving: ping $ ping www....
0
votes
1answer
3k views

How to configure dnsmasq as an authoritative DNS server?

I'd like to setup dnsmasq as an authoritative DNS server, but can't find any good guides for it. So could somebody please post a sample configuration of dnsmasq as an authoritative DNS server (with ...
0
votes
1answer
228 views

Supersede DNS at commandline (rather than directly editing /etc/dhcp/dhclient.conf)?

I know that I can use my chosen DNS by adding the following line to /etc/dhcp/dhclient.conf: $ supersede domain-name-servers 1.1.1.1, 1.0.0.1; I can verify that the correct DNS is being used as ...
0
votes
0answers
120 views

Resolving hostnames querying multiple DNS servers

We have two isolated private network domains dc.example.com and cloud.example.com and both of those have their own DNS servers. But we have a client machine connected to both of those networks. How do ...
0
votes
1answer
683 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 "...
0
votes
1answer
187 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 ...
0
votes
0answers
308 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....
0
votes
1answer
451 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
375 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 ...
0
votes
1answer
187 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
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
0answers
426 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 ...
0
votes
1answer
199 views

Bind9 - syntax error NAPTR record

Currently I am using two DNS server, one as a master, one as a slave. Both of them are working nice. Both of them are RedHat5, the master is running the version of named: BIND 9.3.4-P1, the slave is ...
0
votes
0answers
39 views

DNS query with bad logic

I built a script that queries the domain registry. Just a disclaimer, this is NOT a hacking attempt. I am trying to gather a list of domains that my company does NOT host. Lets assume that the ...
0
votes
0answers
64 views

DNS zone overlap

We have two zone www.example.com and example.com, our website hosted on www.example.com so it has @ IN A x.x.x.x record in www.example.com and every this working fine. But today we host website on ...
0
votes
0answers
2k views

Configuring a dns server and client in Ubuntu

I have configured the following two ubuntu 16.04 machines: dns client: 192.168.248.190 dns server (bind9): 192.168.242.116 I basically followed this and only setup the forward zone file https://www....
0
votes
0answers
551 views

“Temporary failure resolving 'security.debian.org'” despite having allowed DNS via ufw

So I denied everything except DNS, HTTPS and HTTP in the gufw firewall. ufw status verbose looks good with no DENY for port 53 and only allows at the bottom of it. I even executed sudo ufw allow 53/...
0
votes
1answer
76 views

How can I access my web server mounted with virtualbox in my pc from internet?

I have a web server with virtualbox in my pc, but I require that it can be seen from the internet, entering with the domain name that i have. I have a fixed ip address and a domain name with godaddy. ...
0
votes
0answers
2k views

How to disable DNS AAAA queries on an IPv4-only host?

I observe at least three installations of different Linux (Ubuntu 16.04, Antergos latest as per 2017-06-28, Debian 9.0) with the following behaviour: IPv6 is deconfigured (no Address assigned) The ...
0
votes
1answer
722 views

BIND Setup - Serve internal LAN, query outside results

Setting up a internal private server for some testing on our corp LAN. I want it to be authoratative for a internal domain and hosts, but be able to resolve stuff on the internet (google, yahoo etc.) ...
0
votes
1answer
90 views

DNS is timing out for some domains

I have a strange issue where some services take a really long time to load but once they start loading they run at normal speed. The most consistent example I have found is soundcloud. When I go to ...
0
votes
1answer
394 views

Some Windows clients do not appear in Samba's DNS after joining Samba domain

I'm in the process of migrating my old PDC domain to Active Directory with Samba4 (4.5.2). What I did was quite straightforward - leave old domain, revert registry changes that allowed Windows 7/8 to ...
0
votes
1answer
785 views

set DNS on ppp connection via systemd/dbus busctl

Setup: A debian jessie device connection via ppp to the internet We use systemd-networking and no /etc/network/interface at all. systemd-resolved is used for DNS. Versions: systemctl --version ...
0
votes
1answer
34 views

Subdomains point to different VPS boxes

I have two seperate vps boxes with vultr.com (one is debian and the other centos), I would like to set it up so two subdomains go to each one. Possible? For example, box 1 would be box1.mydomain.com ...
0
votes
1answer
314 views

Local device DNS thinks I am in the wrong country

I recently traveled to Canada, and once I arrived my Ubuntu 16.10 laptop started having DNS resolution issues after a couple days when it became confused about what country I was in. Initially I could ...
0
votes
1answer
224 views

Fail2ban Jail List

Recently our website starting loading extremely slow when browsing publicly to FDQN. Using IP of the website it will load the main file, but not dependencies. Curl show the TCP exchange happen in a ...
0
votes
0answers
60 views

How do I assign a separate DNS answer to a port or also to an internal subdomain?

Fun with DNS: Example 1: How to join the party? party.com resolves to an externally hosted web site, but fun.party.com needs to be able to reach a different server, this one is local at 10.0.2.50, ...
0
votes
1answer
422 views

Bind9 configure part of public TLD for private network devices

Our company controls a domain called foobar.com, which is used for various public services (w.g. www.foobar.com directs to our website). The domain has public DNS records in a DNS service. We have ...
0
votes
1answer
57 views

Which config file is fit for my example to config apache2?

Let's suppose a scene. domain name: xyz.com the domain parsed by third-party dns server: ns1.xxx.com IP address bound with domain: 123.123.123.123 apache2 was installed on 123....
0
votes
1answer
224 views

How to debug: Firefox can not lookup DNS

Suddenly Firefox-ESR and Iceweasel can not lookup DNS but /etc/hosts works fine. Other programs does also work fine: konqueror, wget and curl. I have gone through http://mzl.la/1xKrMnN Firefox can't ...
0
votes
1answer
41 views

Issue with DNS logging channel

I have configured my DNS server with logging channel but still log is writing to /var/log/message file. options { // Default zone file directory for this dns server directory "/var/named"; // Who ...
0
votes
2answers
927 views

Linux Mint 18 / Update problem/ DNS problem / Run script on startup

I have Linux Mint 18, and always (with Linux Mint 17 too) have a problem with the connection to some repositories in the update option. The solution that I found is to run this in terminal and it ...
0
votes
2answers
137 views

Moving up DNS domain between webhosting servers

first post over here. Until yesterday I had a virtual shop working in a VPS webhost site, but because of the quality of service it was decided to move the whole webapp to another webhost, in a ...
0
votes
2answers
920 views

reverse slave DNS server zone file not transferred

I am using amazon free tier with RHEL 7and configuring master and slave dns server. From master everything is ok, but slave I couldn't find result. Also I would like to know how can I secure my dns ...
0
votes
2answers
71 views

Hostname troubles

I am trying to change the hostname on a Linux RHEL6.5 box and have changed it in /etc/hosts and in /etc/sysconfig/network, as I have read.. The command hostname'now returns the new hostname, but ...
0
votes
1answer
47 views

Can sendmail be made to refuse connections if NIS or DNS are down?

We run a sendmail 8.14 server for a domain which has its user database managed in NIS. My nsswitch.conf is pretty vanilla: passwd: compat group: compat shadow: compat hosts: ...
0
votes
0answers
320 views

DNS problem with ipv6 on centos6

I have a couple of open-stack instances that communicates with github.com. When any of these machines reboots , the file /etc/resolv.conf gets the ipv6 addresses of my DNS servers. Everything still ...
0
votes
1answer
846 views

Thunderbird can't resolve DNS host names on Linux Mint 17.2

I just upgraded from Linux Mint 14 to 17.2 and Thunderbird 38.4.0 is having problems. It can't resolve any host names except those in /etc/hosts. Everything else I've tried, including Firefox, the ...
0
votes
0answers
232 views

nagios plug-in for collecting DNS stats not working on RHEL server 6.7

We are trying to get the check_bind.sh script to automatically update the named.stats file. However, the file only seems to update when we run the script manually or with a cron job. We have this ...
0
votes
0answers
255 views

NetworkManager issue with DNS

My NetworkManager randomly empties /etc/resolv.conf for no apparent reason. After connecting to a network, the file contains whatever was obtained via DNS. Usually it keeps its contents, but sometimes ...
0
votes
0answers
2k views

CentOS DNS Server for localhost

I need install the DNS Server (BIND - CentOS 7) to work only locally. I mean, the same CentOS that has the BIND will connect/search in the DNS, any other host will 'connect' with this machine. The ...
0
votes
0answers
277 views

enable/disable domain redirection

My router can be joined by clients. enable // I'd like to redirect all traffic to an IP (13.37.42.1), I mean any IP and any domain. disable // Then I d like to be able to disable it. Then clients ...
0
votes
1answer
152 views

Forward traffic from first to second server

I have 2 Servers, 1 normal Server without ddos protection and 1 ddos protected v-Server, i try to forward traffic through the v server to the main server. So if someone access to my v-server like tcp ...
0
votes
0answers
96 views

How Can I Set Up DNS Server on Virtual Network w/out Internet?

I'm trying to set up a virtual network populated with 4 CentOS 7 servers for testing purposes. I have successfully configured a Kerberos server and a secondary Kerberos server. However, when it ...
0
votes
0answers
60 views

Misc file corruption freebsd 10 and dns zone file

The computer is a VPS from Vultr. They tell me that "since it is loaded into RAM and not really a drive, nothing on the host would be causing this." One particular file, my zone file, will come up ...
0
votes
2answers
900 views

Bind doesn't resolve his authoritative zones

I'm currently setting a Bind 9 server on a CentOS 7 system, but I have some kind of unexpected behavior (even though it worked great in my VM). When I want to retrieve records from the zones it is ...
0
votes
0answers
800 views

Unable to capture DNS requests on server

I am trying to route all DNS queries from my computer through my server. My laptop seems to be sending the queries to the server, but I'm unable to monitor them on the server. On the client (my ...
0
votes
0answers
318 views

Why must a server know its own host-name and domain-name?

In Linux, a server can set its own host-name and domain-name through sethostname() and setdomainname(). I just wonder, however, why must a server know its own host-name and domain-name? To my ...
0
votes
1answer
28 views

PHP framwework, multiple sites and httpd and DNS

I'm wondering if this is possible: There is a PHP framework and someone made several sites, which can be accessible like this: .../index.php/aaa .../index.php/ccc I would like to somehow map DNS to ...