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.

learn more… | top users | synonyms

3
votes
1answer
181 views

What is the best way to keep a Linux server's hostname consistent?

We have a server with a CentOS distribution of Linux. It lost its hostname in the month somehow, since our last reboot. We ran an ETL (extract, transform, load) job last week, and part of that ...
0
votes
1answer
67 views

Is this the correct SPF DNS TXT syntax to allow the existing email servers (DNS MX records) and to authorize the new smtp server ip-address?

v=spf1 +mx ip4:65.1.2.3 -all Domain DNS TXT records to change: product1.com : sales@product1.com otherproduct.biz : sales@otherproduct.biz Information: Both domains have DNS MX records, and ...
2
votes
1answer
34 views

DNS Zone A record for domain [closed]

Is there any contradiction of having A record for a zone name? I know very experienced administrator who didn't want to add A record for zone names, and I don't know why. If the zone name is example....
0
votes
1answer
229 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
1answer
203 views

Error in named.conf

I am getting the following error: Starting named: Error in named configuration: zone blk1999.lab/IN: loaded serial 2001062501 zone localhost.localdomain/IN: loading from master file named.localhost ...
0
votes
0answers
67 views

Will LINUX OS caching override Weblogic JVM caching setup?

We made networkaddress.cache.ttl=2 at java.security file to cache for only 2sec.But in reality Weblogic is caching forever. Now we can see :- grep hosts /etc/nscd.conf Currently supported cache names ...
0
votes
0answers
29 views

centmin mod setup Domain Nameserver

I install centmin mod on my VPS. (ex. IP VPS 49.49.49.49) then i select option (2) to Add Nginx vhost domain then i create 2 vhost mydomain1.com and mydomain2.com. add my domain panel, there's 3 ...
1
vote
1answer
304 views

Resolving IPv4 address from DNS using the IPv6 address of a host (bind9)

I need to make a DNS query to one of my clients using IPv6 to resolve the IPv4 address for the machine, how would I go about doing that. I know i can just use the hostname to resolve both IPv4 & ...
1
vote
0answers
109 views

Split-horizon on DNSMasq?

Is it possible to perform Split-horizon with DNSMasq? I've googled and it seems like it is only possible with Bind9, any advice would be much appericated
2
votes
3answers
261 views

resolv.conf limited to six domains with a total of 256 characters

I've got a machine (Debian jessie) used to "jump" to another machines, with different domains.... actually many domains. As man resolv.conf tell us, search list for host-name lookup is limited up to ...
0
votes
2answers
774 views

IPTables - hex string block DNS query

I have a customer that is sending a lot of queries for a particular domain on my DNS server. I want block that queries and I found the hex string that is possible to be implemented. That is the string:...
1
vote
0answers
34 views

Why does nss on Linux not fallback to unicast dns by default? [closed]

The default configuration for hosts in /etc/nsswitch.conf on Linux typically reads: hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname This breaks on misconfigured networks that use ...
2
votes
1answer
248 views

Run SSH over a SOCKS proxy?

I need VPN-like behavior locally, without using a VPN. I've created a SOCKS proxy to a given server which is reachable from the WAN, and I want all of my traffic forwarded through that proxy so I ...
1
vote
0answers
35 views

Remove permanent redirect and clean DNS

I am experiencing "Server not found" errors since I did the following, in my server I had this domain structure: example.com -> permanent redirection to app.example.com app.example.com I removed ...
0
votes
0answers
37 views

iptables DNS guard protection

I' m going to implement some DNS security features on my DNS server and I was wondering if iptables can do the same job that cisco ASA/PIX does: DNS guard DNS Guard identifies an outbound DNS query ...
2
votes
1answer
546 views

Kerberos DNS issue with /etc/hosts

Thank you all for your time and attention. Very simply I'm getting this error when invoking kinit to test kerberos authentication against my AD domain (which is hosted on a Server 2012 box). The ...
0
votes
0answers
193 views

How to make resolvconf / dnscrypt / unbound work together on systemd - and respect openVPN routes?

I'm finding it tremendously confusing to appropriately setup Unbound.service on systemd. Use Case I am trying to get my Debian Jessie laptop to use DNScrypt as default DNS and Unbound as the local ...
1
vote
2answers
187 views

can ping google dns, but not google.de -> unknown host // worked in another network

I have a Laptop with debian jessie installed. At my home network, i could connect successfully to the internet (ping google.de successful). At the external network, i can't ping google.de (result: ...
1
vote
1answer
75 views

How do I set up my own dns record server?

I have the domain name example.com and I want to be able to configure my linux vps to handle what subdomain points to what IP. For an example I want to be able to set test1.example.com to point to 99....
0
votes
0answers
90 views

resolvconf error in recovery mode with dhclient

when I go to recovery mode and I want to activate networking, I usually type: dhclient eth0 After this, I can for example ping to www.google.com. However, I get the following error: RTNETLINK ...
1
vote
1answer
803 views

Zookeeper DNS name problems with leader elections when migrating from Windows to Debian

I am migrating a kafka/zookeeper cluster on Windows to Debian wheezy. Java version: 1.7.0_80 Debian version: 7.9 Zookeeper version: 3.3.5+dfsg1-2 0 Kafka version: 2.10-0.8.2.1 If I configure ...
1
vote
1answer
87 views

How can I (re-)connect DNS for gmail on Linux Mint?

Let me refer responders to this thread on Linux Mint forums: Chrome/Firefox not loading Google websites I've seen this four times in the past two weeks or so. The loss of connection does ...
1
vote
1answer
19 views

What changes are made to ./.dns?

My server hosted at Hostgator was recently hit by malware and hence to monitor the file system I use find -mmin -xx command at regular intervals. But everytime I run the find command, I see the first ...
1
vote
0answers
27 views

How to deal with growing BIND9 log files

My DNS server's logs are the text files that growing too fast and one of them is already over 30 MB in size. I didn't set up the max. file sizes. I would prefer just to manually delete the lines ...
1
vote
1answer
39 views

Use client hostnames for DNS

I want to set up a DNS server on my network. I want to keep it simple and just use $(hostname -s).catpants.lan as the DNS entry for each system on my network. Internal DNS only. Is there a way I can ...
0
votes
0answers
13 views

Bind9 resolv on or off?

I'm using bind9 to run my own public DNS for my website. I've been getting a lot of error messages in my syslog file about hostnames not resolving. When I looked in /etc/default/bind9 I noticed ...
1
vote
0answers
23 views

DNS lookup with different Port

I have 2 interface. interface_1 ip address 10.192.0.1 --- interface_2 ip address 192.168.10.2 gw 192.168.10.1 --- default gateway. Not I want to pass my url lookup (keeping 4.2.2.2) with ...
0
votes
1answer
91 views

iptables resolved addresses differs from nslookup

To block personal emails on a corporate network, I've blocked FORWARD to mail.google.com and mail.live.com. The following is how iptables resolved those addresses: $ sudo iptables -L Chain FORWARD (...
1
vote
1answer
114 views

DNS Hostnames - using internal and external zones

Looking for the correct or best practice way of doing this. If you have an external zone called example.com that runs your public mail, web, etc and an internal zone called corp.example.com that runs ...
0
votes
0answers
189 views

Internal DNS can't resolve external DNS for my zone

I have a Mac Mini in the office that I just setup to host the zone example.com. I've added A records to several hosts running here. i can ping all internal hosts by name and get an IP. On Digital ...
0
votes
1answer
198 views

Debian 8 - Resolve DNS in multiple nameservers

I've recently installed Debian 8 (Jessie) and I'm having trouble with DNS resolving in a particular network configuration: I must connect to 2 different networks (1) ethernet and (2) wireless. Each ...
2
votes
1answer
210 views

How can I check if my DNS server is working?

This case scenario is for a router with embedded linux, but I think the answer could be the same for any Linux system. This is my DNS check: ~ $ cat /etc/resolv.conf nameserver 80.58.61.250 ...
0
votes
0answers
856 views

Why `host` and `nslookup` on Ubuntu resolve hostnames while `ping` and `telnet` do not?

I can't use git clone or even apt-get install because I get a "cannot resolve host" error. They were working before, but I have no idea what changed that broke the DNS resolve. I can't find any ...
0
votes
2answers
70 views

How to filter IPv4 IPs in bash

How do I filter IPv4 IPs from data in bash? For example: command: dig www.ign.com A +short return: www.ign.com.edgesuite.net. a1005.g.akamai.net. 2.20.255.80 2.20.255.78 And I want to make a ...
0
votes
2answers
46 views

Domain only for web server

I have a domain which I want to point to my server. But I don't want to allow other people to use this domain to reach the server, only specific ports on the server (web server, so port 80). So if ...
1
vote
3answers
52 views

How to see the actual nameservers of a domain instead of the “nsrecords”

A domain has nameservers and ns records. These should not, but can theoretically be different. There are multiple ways to see the ns records of a domain: dig: ➜ ~ dig +short NS stackoverflow.com ...
1
vote
1answer
29 views

Convert old DNS zone file into new format

I've got this old domain zone file with this format ZZYZX IN NS DNS1.NAME-SERVICES.COM. IN NS DNS2.NAME-SERVICES.COM. IN NS DNS3.NAME-SERVICES.COM. IN NS DNS4.NAME-...
0
votes
0answers
76 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
1answer
85 views

OpenVPN clients cannot share their connection to the Internet

Context: a Wifi VPN gateway (Linux Ubuntu computer) Simply One distant Server (www.example.com) and One Client (Paul, Ubuntu Linux, gateway) linked with openVpn. Server allows Paul to browse ...
0
votes
0answers
68 views

OpenVPN “breaks” my local DNS down

Context: Router-computer (Ubuntu 14) runs a wifi AP (wlan0), as a router between clients and Internet (on eth0). For DHCP it uses isc-dhcp-server and DNS resolvers are defined in dhcpd.conf (...
0
votes
0answers
98 views

My dhcp client isn't getting the dns server address

I have a network with diskless booting(tftp,pxe,nfs), the clients are working(receiving ip,gateway,etc), but they don't receive the dns address, what it can be? this is my dhcpd.conf: default-lease-...
3
votes
1answer
38 views

How can I find my client's linux box on the internet automatically?

I'm looking for a way to have a client's machine "phone home" periodically so that I can easily do a ssh login if necessary. I was thinking a simple script that grabs the public IP address and posts ...
1
vote
2answers
703 views

Force dig to forget records

I would like to let dig always forget a DNS record. I mean if I do dig yahoo.com then I have a record back in with ttl for 1790 seconds. Even if I have no cache service installed, next time i do the ...
0
votes
0answers
65 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
2answers
61 views

Allow multiple local servers to share a local domain

I'm wanting to set up multiple local servers in VMWare. For example, one web server, one file server, one openvpn server, etc. I would like to create a domain that works locally (e.g. example....
0
votes
1answer
36 views

Reverse DNS for external DNS server

I have my forward zone configured and now I am writing my reverse zone configuration. I've read through Pro DNS and BIND book and the examples given are if you own a portion of an IP address space a.b....
1
vote
1answer
132 views

TTL values for external DNS records

Upon setting up my zone files, I went back to review my TTL values. The default is set for 24 hours and I have individual TTL values set for each individual record. My thought was NS, MX, and CNAME ...
1
vote
2answers
81 views

Security of zone transfers for bind

When having two public DNS servers that provide NS, A, MX, and CNAME records for your domain (website), is it necessary to encrypt the zone transfer data or is it fine to have the master-to-slave sent ...
0
votes
0answers
115 views

why samba 4 is giving the following error attempting to join to domain

trying to join windows 7 clients to samba 4 that is using named as name server i am getting the following error: An attempt to resolve the DNS name of a domain controller in the domain has being ...
1
vote
0answers
44 views

Configure Bind to use specific server as starting point for recursive query?

I'm attempting to setup a Bind DNS server which (for security purposes) is highly limiting. Essentially I only want to allow DNS queries to be made to a particular set of DNS servers which do not ...