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

learn more… | top users | synonyms

4
votes
2answers
94 views

How to test /etc/hosts

What's the best way to confirm that your /etc/hosts file is mapping a hostname to the correct IP address? Using a tool like dig queries an external DNS directly, bypassing the hosts file.
2
votes
0answers
38 views

DNS works half of the time in Oracle VirtualBox and I can't even maintain /etc/hosts file

I have installed three Linuxes on same laptop and same VirtualBox and this is my success ratio with DNS: HortonWorks & CentOS. Worked for 5 minutes and never after that again. VM image ...
1
vote
1answer
469 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
3
votes
2answers
121 views

Configure Spamassassin to use URIBL and Google Public DNS

I use Google Public DNS servers on my mail server. However, URIBL and other spam blocking sites (which work over DNS) block major DNS sites such as Google Public DNS. I think if I run my own DNS ...
2
votes
1answer
38 views

Specifying DNS settings to override those of DHCP

Every 6 months or so I cannot access the DNS on whatever router I'm using. usually have to add the nameserver by hand to the /etc/resolv.conf file. I've tried adding Google free DNS to the file and it ...
1
vote
3answers
263 views

alternative to nslookup in rhel7?

nslookup does not come preinstalled in RHEL 7 Beta. I noticed even dig and host was not pre installed. I read couple of links which mentions nslookup is dead/deprecated, so is there an alternative for ...
18
votes
4answers
16k views

What is the point of sshd “UseDNS” option?

I know what it does, but i don't know why. What attack(s) does it prevent ? Is it relevant for all kind of authentication methods ? (hostbased, password, publickey, keyboard-interactive ...)
4
votes
2answers
502 views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I have imported all of the DNS zone files using NamedManager (a web ...
-2
votes
1answer
20 views

Hardware configuration required for DNS server

How can I know Hardware configuration required for DNS server: What will be the expected QPS (Queries Per Second) on the server. 5/Sec and peak time 10-20/Sec How many hosts will be ...
4
votes
1answer
24 views

route added, but shows inverse ip

Using xubuntu... i'm trying to add a route in my work laptop, and so i do route add -host 212.18.178.207 gw 10.15.228.1 eth0 for some strange reason, when i do just route, this is what i get... ...
1
vote
2answers
527 views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
0
votes
1answer
1k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
1
vote
1answer
1k views

unable to start named service

Whenever I try to run the named service, I get the following even though my permissions and folder ownership is all fine: [root@f13 ~]# service named start Starting named: Error in named ...
10
votes
3answers
245 views

Iptables to redirect DNS lookup IP and Port

I have discovered that my ISP (verizon) is intercepting all DNS traffic on port 53. Using iptables, I want to redirect all DNS lookup traffic to a specific IP and Port (5353). Any attempt for my ...
0
votes
2answers
102 views

UFW is blocking DNS

I am configuring the security in my server. For easier the manage at the firewall, I installed the UFW. I did some settings in the UFW and I allowed some ports. Therefor when I enabled it the DNS ...
2
votes
1answer
34 views

Running my own dynamic DNS record hosting

I intend to run a debian server at home, it will host various websites, SSH server and email. I have a dynamic IP address and I am unwilling to pay the extra for a static IP. I was thinking I could ...
2
votes
0answers
15 views

How to add another domain (SOA) to my bind9 installation when domain has not been delegated yet. What are the delegation steps?

I have a bind9 installation on my Debian Wheezy install. On this install I have a DNS-server which acts as the SOA for a domain, example1.com. My name server is also on the same domain, example1.com ...
4
votes
1answer
361 views

Setup of DNS zone with secure zone updates

How do I run a dns server with a zone for a local domain and be able to add dynamic entries to the dns zone securely from selected hosts? I have tried to setup a domain 'rag.local' with bind9. I have ...
2
votes
2answers
823 views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
4
votes
3answers
3k views

Can't connect to to internet. Debian Wheezy, pinging DNS address works

I have booted Debian Wheezy from SD card on a Beaglebone Black board. Version: debian-wheezy-7.0.0-armhf-3.8.13-bone20.img.xz, from http://www.armhf.com/index.php/download/ I have set up my ...
1
vote
1answer
261 views

How to allow recursion for only 1 zone?

Is it possible to allow recursion for a single zone in BIND 9.6?
0
votes
1answer
280 views

Opendns setup failed. How to fix it?

I have problems trying to configure OpenDNS. I have contacted OpenDNS support but they did not answer. I cannot access websites like Twitter and Facebook. I tried welcome.opendns.com (did not ...
7
votes
2answers
84 views

DNS lookups sometimes take 5 seconds

I have a VM running Debian Wheezy on which some hostname lookups take several seconds to complete, even though the resolver replies immediately. Strangely, lookups with getaddrinfo() are affected, ...
3
votes
1answer
3k views

Using DNSMasq for Local Hostname Resolution

I'm working on setting up a home intranet for me and my roommates. My idea is that we'll be able to store things like past utility bills in a place that's more accessible than a drawer in the kitchen ...
4
votes
3answers
179 views

How do I generate SSHFP records?

I need to setup SSHFP records in the DNS for my host. I have done some searching but I haven't found any good example. What are SSHFP records? What does SSHFP records look like? How do I create ...
-1
votes
2answers
74 views

My Centos Server cannot resolve the DNS host name [closed]

My Server OS: Centos 6.3 x64. The server iptables is: *filter :INPUT DROP [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m tcp --dport ...
0
votes
1answer
433 views

Slow DNS resolve from curl/lynx etc

I have a strange issue with DNS resolving: Root of the problem is that I get curl errors: "Error executing HTTP request: name lookup timed out". Tried to ping some sites, all resolved fine (and fast). ...
1
vote
1answer
54 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
4
votes
2answers
66 views

Port Routing/DNS for individual program

Background Flickr has closed its http api leaving an https only api. My favourite uploader (the official Flickr Uploadr version 2.5 running under wine) is no longer maintained, so this change broke ...
0
votes
1answer
42 views

bypass firewall with Openvpn + Squid

I have 2 VPS servers, one in China and another in the US. The server (openvpn client) in China is connected to the US one via openvpn. I also have squid running in the China server. I want to ...
5
votes
1answer
375 views

Firefox unable to access domains defined in /etc/hosts if Network Manager is disconnected from a network

For developing web sites, I define test domains in /etc/hosts : 127.0.0.1 example.org I can then access example.org in the browsers. However I when the Network Manager is not connected to any ...
1
vote
2answers
1k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
9
votes
1answer
109 views

Can a domain be configured to only have secondary DNS nameserver records?

I'm asking if someone can verify if my DNS hosting idea is possible or has any flaws. We would host our own primary DNS server for all zones and configure it to allow zone transfers to a set of IPs ...
2
votes
1answer
21 views

What does the Bind bindkeys-file directive do?

Just trying to understand the bindkeys-file directive related to the DNSSEC extension in the Bind configuration. Is that a public key? Does it sign the response in the same way as digital signatures?
3
votes
1answer
58 views

DNS resolution problem with Fedora 20

I have a newly built Fedora 20 server that I've just hooked to my network. It's a virtual server running on a VirtualBox host. Everything seems to be working but I have a problem with name resolution. ...
1
vote
2answers
31 views

dns resolve for 2 IPs with same reference

We having following situations: On a server, we have to set 2 IPs which will be refereed to the same fqdn. in the application which is running on the server, we are configuring the FQDN. Once there is ...
1
vote
1answer
43 views

Setting up Bind9 - lsb-base not in sources

I've been having real trouble installing Bind9 following this tutorial http://forums.debian.net/viewtopic.php?f=16&t=39146 When I get to entering these commands: apt-get -y build-dep lsb-base ...
0
votes
0answers
35 views

DNS server design

Currently my company is deploying SIP phones in different locations from different boroughs. I've been asked to create static DNS records for each of the phones with the following format: ...
4
votes
3answers
28k views

How to flush local DNS cache in CentOS

(I am aware that googling this question gives me tons of stuff, but literally none worked) I'm looking for a way to flush the local DNS cache on a Centos 6 system, it is not running any DNS server or ...
0
votes
0answers
22 views

How can I make CentOS 6 treating WiFi flexibly like Ubuntu 12.04?

In my office, I have AT&T Uverse. The router is a 2wire 3600HGV. The WiFI is provided by a Cisco Linksys E1000 that is plugged in the 2wire device. With my notebook running Ubuntu 12.04 LTS ...
60
votes
12answers
75k views

How can I resolve a hostname to an IP address in a Bash script?

What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
1
vote
2answers
153 views

how can I add records to the zone file without restarting the named service?

I'm working on centos6.5 and bind9 and I have managed to add records to a DNS zone by doing this steps: creating the key: dnssec-keygen -a HMAC-MD5 -b 128 -n HOST example.com. editing conf. ...
1
vote
1answer
71 views

Getting DNS queries to 73.207.210.75.in-addr.arpa

My Linux system is doing a lot of DNS queries to 73.207.210.75.in-addr.arpa but I don't know of any reason it should be doing this. What is at in-addr.arpa? Any reason why these queries are ...
10
votes
2answers
10k views

How do I set my DNS on Ubuntu 14.04?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
5
votes
2answers
10k views

understanding DNS in ubuntu 12.04

I have Ubuntu 12.04 installed, and also use unbound and usually use openDNS as my DNS server. When I run dig google.com say I get SERVER: 127.0.0.1#53(127.0.0.1). What exactly is this thing listening ...
0
votes
2answers
111 views

ping not working for google alone

one of my friend changed some network config in my laptop at home, He said he tried something related to block a website(he tested it with www.google.com).Now www.google.com not loading . Even he dont ...
0
votes
1answer
59 views

how to avoid NSCD for DNS

I am using NSCD service for DNS now. But sometimes I see NSCD dying itself and DNS resolving doesn't happen properly. please tell me how can we avoid NSCD for DNS . if we bypass the NSCD what is the ...
2
votes
2answers
178 views

How can I block a subdomain with dnsmasq?

I use dnsmasq as a whitelist on my network. My dnsmasq.conf file looks like this: bogus-priv domain-needed no-resolv server=/stackexchange.com/8.8.8.8 #etc... I would like to be able to block a ...
2
votes
3answers
3k views

Why can't I ping Google?

I can't ping google.com (unknown host). But I can ping IP addresses. I tried to ping the IP address of Google but it doesn't work. resolv.conf nameserver 8.8.8.8 nameserver 209.139.209.33 ...
0
votes
0answers
17 views

Free DNS Clients [duplicate]

I have a Synology server 213. I host my own sites and every month I have to update my dns. I use freedns. I have noticed that you can get scripts that check your ip and hopefully update it when it ...