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

1
vote
1answer
208 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
102 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
212 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
668 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
197 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
33 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
34 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
447 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
172 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
152 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
73 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
84 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
618 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
82 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
37 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
12 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
85 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
100 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
180 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
187 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
172 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
763 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
48 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
70 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
83 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
64 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
95 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
37 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
598 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
60 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
57 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
35 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
116 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
78 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
110 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
37 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 ...
0
votes
0answers
803 views

mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled

I'm using UBUNTU 14.04 as virtual machine on Windows using VMWARE , after logging I installed nmap but after trying to run nmap -sP 10.42.0.0 I get the following message mass_dns: warning: ...
1
vote
1answer
240 views

DHCP server with static IP not resolving hostnames (clients do)

Network Setup I have a server which I am trying to set up LXCs on I am using LXD which forces me to use DHCP DHCP is working fine already due to my setup I need to be able to access the containers ...
-2
votes
2answers
82 views

my linux pc not pingable using hostname

From a remote machine I am able to ping my computer by its IP address, but not by its hostname. How can I make it accessible by its hostname as well?
0
votes
1answer
191 views

DNS Query Script

I am trying to get all the A records for some domains. The best way I have found is to use https://www.whatsmydns.net and the nexcess tool. The issue is that it is very slow to copy paste them and ...
0
votes
1answer
91 views

setting up subdomain at centmin mod

I am in need of help at setting up subdomains in my CentOS using centmin Mod. This is what I have done so far. Purchase a VPS with IP address: xxx.xxx.xxx and hostname: ns.mydomain.com Install ...
0
votes
0answers
426 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 ...
2
votes
3answers
166 views

Is it possible to set different DNS servers for different users?

Is it possible to set different DNS servers for different users? Say user test1 uses Google's DNS (8.8.8.8 and 8.8.8.8), test2 would use 0.0.0.0, and both test3 and test4 would use 127.0.0.1. Is ...