Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses.

learn more… | top users | synonyms

1
vote
1answer
29 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 ...
2
votes
0answers
19 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
49 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
44 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
123 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
107 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
87 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
372 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
58 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
42 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
35 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
26 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 ...
0
votes
0answers
52 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
49 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
63 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: ...
3
votes
1answer
34 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
138 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
39 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
46 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. ...
0
votes
1answer
32 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 ...
1
vote
1answer
54 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
47 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
58 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
28 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
378 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
133 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
65 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
89 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
56 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
210 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
102 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 ...
4
votes
1answer
223 views

why do queries with status “refused” get answers?

I'm wondering about why would that be. It's even stranger if you simply "dig +short" the record - you get the response, but clients can't make use of that. I've had a quick look at the RFC, but I was ...
3
votes
1answer
48 views

Proxify dns queries for bash command

I want to use different dns server (not tor, any dns server i set) for certain terminal command. Say it would looks like $ DNS_SERVER=8.8.8.8 dnsify ping example.com and it uses google dns. I know ...
0
votes
0answers
87 views

OpenVPN is working but not DNS resolution

I am using : uname -a Linux 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 GNU/Linux This is my server config: cat /etc/openvpn/server.conf | egrep -v "#|;" port 1194 proto udp ...
1
vote
3answers
54 views

Adding recursive entries into `/etc/hosts`

I'd like to add shorthands for various FQDNs into the /etc/hosts file, such as: pyrrha.compsci.university.org. pyrrha Is there a way to force the local DNS resolver to process the /etc/hosts ...
0
votes
1answer
59 views

How the command “dns-fix” works?

I had a problem on my DNS and after using this magical command, solved the problem. So I got curious: how this command, dns-fix, worked? I am using the Mint distribution. The command is standard.
3
votes
1answer
197 views

How to enable nameserver recursion?

On Ubuntu 14.04, when I'm performing a dig google.de on my machine, I get a REFUSED status (reducing to relevant lines): me@machine:~# dig google.de ;; ->>HEADER<<- opcode: QUERY, ...
1
vote
0answers
85 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
1
vote
1answer
245 views

nc command can't lookup DNS name

I have lots of clients need to check if the port is opened on remote server. I use nc command to do this job, however it always give out DNS lookup failure, but I can successfully find the DNS record ...
2
votes
1answer
24 views

Is it possible to mix zones with DNSSEC enabled and disabled in BIND?

I have a dozen domains configured in a set of zones in BIND and I need to add a new one with DNSSEC enabled. If I enable DNSSEC: options { dnssec-enable yes; dnssec-validation yes; }; Will ...
0
votes
0answers
76 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
61 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 ...
2
votes
2answers
2k views

Keep losing resolv.conf configurations

Every time I reboot raspi, the resolv.conf file is cleaned. i normally added to this file the openDNS IPs as shown below: # OpenDNS IPv4 nameservers nameserver 208.67.222.222 nameserver ...
0
votes
0answers
39 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
2answers
105 views

Add more DNS nameservers in OpenBSD

I wish to add more DNS nameservers such as 8.8.8.8 in OpenBSD 5.7. I understand that the current version of OpenBSD allows up to a maximum of three DNS nameservers. I have read the man pages related ...
0
votes
0answers
32 views

Bind config options (recursion and forwarders)

I am trying to setup bind to authorize one zone and cash all other requests from provider nameserver. Do two options recursion and forwarders have linked values and affect each other? Should I list ...
2
votes
1answer
824 views

nslookup, dig, firefox ignoring /etc/hosts file entries

There is something terribly wrong with my current Debian install. Most programs like firefox, nslookup, dig etc. are ignoring entries in /etc/hosts file, actually I use this file for Ad-blocking. an ...
-2
votes
2answers
196 views

Preventing internal domains names being resolved with a external DNS

I have a site with a public registered domain name on Godaddy, let's say xyz.com. Unfortunately all internal systems and DNS were set with the same domain name internally. On a systems with access ...