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

learn more… | top users | synonyms

0
votes
2answers
38 views

DNS Issue in ubuntu 14.04

I am facing DNS resolving issue sometimes in my Ubuntu 14.04.2 LTS trusty. I have configured my system with network manager to work with static IP assignment. I have also tried by changing DNS server ...
0
votes
2answers
19 views

How are the entries in resolv.conf automatically added?

I have installed a fresh Debian Jessie distribution today. It properly configured IP address through DHCP and also added nameserver entry in /etc/resolv.conf. Could you please explain how are those ...
0
votes
1answer
6k 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 ...
0
votes
0answers
14 views

named-checkzone fails reverse zone file with NS has no address records (A or AAAA)

I'm setting up a private DNS server using bind9 on raspian. I'm receiving this error on my reverse zone file: named-checkzone dthacker.org db.dthacker.org.inv root@dns:/etc/bind# named-checkzone ...
32
votes
7answers
45k views

What DNS servers am I using?

How can I check which DNS server am I using (in Linux)? I am using network manager and a wired connection to my university's LAN. (I am trying to find out why my domain doesn't get resolved)
2
votes
1answer
20 views

Bind DNS A Record priority

I am working on 2 scenarios: Scenario 1: DNS A Record with 2 IPs [Default it works on Round Robin], but I am looking for option where if First IP not reachable then share 2nd IP. Scenario 2: DNS A ...
0
votes
0answers
17 views

Can you install a Smart DNS server on Ubuntu server?

I'm a fan of smart-DNS services like "unblock" and so, as it gives me the VPN functionality (the part of the functionality that I need..) and saves me of server resources, such as traffic. I was ...
4
votes
2answers
176 views

How to make my server use the hosts file to resolve names?

I have a computer with Debian at home, acting as a server with two Ethernet cards: eth0 connected to the router in DHCP mode and eth1 to a switch (static address) that holds four more computers. I'm ...
2
votes
3answers
1k views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
3
votes
3answers
973 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 ...
1
vote
2answers
99 views

Kali Linux openVPN does not pass the DNS Leak test

I recently installed Kali Linux on VMWare. I was able to successfully install openVPN following these instructions, but it seems that it does not pass the DNS Leak test. Is there anything that can fix ...
1
vote
2answers
2k 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
0answers
13 views

dnsbind not working from client end

I am trying to configure dnsmasq in a virtual environment. I have created 2 VMs in VMWare Work Station. Was successful in installing and configuring DNS Server and able to do nslookup of client and ...
-2
votes
0answers
28 views

Error while setting up DNS server

I am trying to setup DNS server in my virtual machine. I am using CentOS 6.5 in VMWare Workstation and setup NAT. I am getting error while restarting named services after configuring named.conf, ...
2
votes
2answers
936 views

What does my router need to act as a name server for my home network?

I am happily using an old PC as a router. Two network cards, Debian wheezy, NAT, ... everything just fine. My home network uses static IPs, which I am also happy with. However, every box on my home ...
0
votes
1answer
1k views

How can I use CNAME in Bind properly?

I'm new to Bind/DNS and want to point/map SMTP, webmail and IMAP to my domain but a check in nslookup is failing. How can I nslookup SMTP this way? The error I get is: smtp.stylez24.com: NXDOMAIN ...
0
votes
1answer
72 views

DNS local area vs DNS Virtualbox

I have been trying to set up a DNS server on my system using Linux and bind. (I'm working with CentOS and Linux on my Windows 7) On my Linux everything seemed to work:I can access my server and ...
2
votes
1answer
25 views

How to define DNS server in openvpn?

I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched ...
0
votes
1answer
51 views

How to force nm-tool to update its DNS servers

Using Ubuntu 14.04LTS and having a problem with changing DNS. I can change servers in the /etc/resoolvconf/resolv.conf.d/base and head files and restart resolvconf using sudo resolvconf -u and it will ...
48
votes
10answers
142k 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 ...
1
vote
2answers
1k views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
1
vote
0answers
10 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
1
vote
1answer
110 views

openwrt: can't change dns server setting in order to resolve non FQDN hostnames

ssh'ing to my openwrt (ver. 10.03.1-RC6) shows that there is something wrong with its dns server: root@OpenWrt:~# nslookup starkill Server: 127.0.0.1 Address 1: 127.0.0.1 localhost. nslookup: ...
0
votes
0answers
34 views

Centos 7 Slow Resolve

After installing Centos 7, I noticed that DNS lookups for addresses saved in /etc/hosts take long time, here is example: time curl -X get http://localhost real 0m0.159s user 0m0.004s sys ...
1
vote
0answers
52 views

dhcp ipv6 dynamic prefix delegation

I'm trying to setup Linux-based home gateway with IPv6 support. IPv4 configuration is finished and I'm using IPv4 NAT, ISC DHCP for addresses allocation, PowerDNS for local DNS setup, PDNS recursor to ...
5
votes
1answer
6k 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 ...
0
votes
1answer
1k 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). ...
90
votes
14answers
127k 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.
2
votes
2answers
168 views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
1
vote
3answers
35 views

Debian dns “A” record used by another domain?

I have a Debian Wheezy server with a domain name and a static ip address. The domain name's "A" record set to my server's ip address. Everything works fine. The problem started when another guy set my ...
1
vote
1answer
32 views

How to increment serial number in bind9 dns zone

I have a dns zone, which has serial number: 2015040500 Today I am going to add some CNAME records there, so I am interested in how to increment serial number, I mean should I change it based on ...
1
vote
2answers
670 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 ...
0
votes
0answers
29 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 ...
3
votes
2answers
2k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
2
votes
0answers
20 views

OpenVPN nameservers ignored by NetworkManager or whatever

I'm using Elementary OS. I've followed a dozen suggestions from different websites and nothing helps. I use OpenVPN client to connect to an office network. The company I work for has provided me the ...
9
votes
4answers
3k 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
vote
0answers
36 views

Can not reach local DNS server for local dot domain subzones because firewall returns gateway IP

I have pfSense inline between my cable modem and my switch, on pfSense I have a NAT port forward on 53 to my local DNS server which I want to serve local subzones to the LAN with. Right now when I dig ...
2
votes
0answers
33 views

How is resolv.conf maintained when there are two network cards?

I have a Debian Wheezy VMware virtual machine guest with two network cards. One is in bridged mode and has access to the internet. The other is in host-only mode and does not. Some process, perhaps ...
0
votes
1answer
32 views

Why does is my updated DNS record not seen by localhost?

Suppose I own the domain example.com and control its DNS server. (To be clear, I do not own example.com.) I just recently (about an hour ago) updated the dns for a.example.com to point at the IP ...
2
votes
1answer
89 views

How to properly configure DNS . . . from a conceptual perspective

I'm not looking for actual tools or techical how to type answers here. I'm in a complex networking environment, and I'm trying to understand the constraints on my choice of a hostname / domain / DNS ...
0
votes
0answers
8 views

Turning off dhcp name resolution in dnsmasq

I configured dnsmasq to forward queries to 168.192.in-addr.arpa to another server, but if I send an request for an address to dnsmasq, and there is a device configured via dhcp with a name then ...
4
votes
3answers
5k 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 ...
1
vote
2answers
302 views

Always look up non-FQDN domains as .example.com?

When I connect to the company OpenVPN they don't push their DNS to my computer, which means I have to type the FQDN for the hosts I e.g. SSH and HTTP to. Question Is it possible to configure my ...
1
vote
1answer
38 views

DNS whitelist domains

I'm trying to set a couple of DNS servers to resolve only specified domains. My first attempt was to run DNSmasq and create a manual list of domains/IPs, like so: no-resolv ...
3
votes
3answers
1k views

Firefox and Thunderbird cannot resolve host names - anything else can

One night my firefox just started showing "Server not found" for all websites (i.e. "Firefox can't find the server at www.mozilla.com."). I noticed that it can find websites if make an entry in the ...
1
vote
1answer
88 views

ssh connects to wrong server

I changed the ip address of an ubuntu server in DNS before 10.x.x.111 after 10.x.x.222 I've flushed the dns cache, and yet when I try and ssh into the machine, ssh still tries to connect to ...
0
votes
1answer
23 views

user- or group based DNS resolution settings

Can I change DNS resolution settings on a per-group or per-user basis on Linux 3.x? I would like different groups to use different DNS servers and (if possible) different static entries (like those ...
0
votes
1answer
135 views

Redhat 7 DNS Bind Failed to restart

I am getting Error while Restarting the Named.service in Red-hat 7 Here is my Lab Status and all the Command. Configure DNS in REDHAT 7 DNS Name p1.linux.com IP address 192.168.1.1/24 N/W ID ...
1
vote
1answer
81 views

How to set and get DNS and DHCP servers addresses

On my openSUSE 13.2, I have a case to set and get DNS and server addresses. I managed to get the DNS address by parsing /etc/resolv.conf, my concern now is setting DNS and DHCP. Does changing the ...
1
vote
1answer
274 views

Ubuntu server 14.04 cannot reach dns but can ping

The server A has access to the Internet, since I get correct response when I use curl . And I have another server B which is free of this issue, of which /etc/network/interfaces and /etc/resolv.conf ...