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
4answers
5k views

Keep losing resolv.conf configurations [on hold]

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 208.67.220....
0
votes
1answer
43 views

Where to specify DNS search options?

If I use Network Manager that does not have DNS search options available (Kali) then what file should I use to define the search options? These don't seem to care /etc/resolv.conf & /etc/dhcp/...
0
votes
1answer
28 views

how to make my dns server public?

i'm trying to make a public DNS server , my DNS server works only on my internal network but when i try to 'nslookup example.com myDNSserverIP(public ip)' it fails i'm running it on ubuntu 15.10-...
1
vote
3answers
50 views

Dnsmasq points nonexistent subdomains point to local IP

There's a specific remote subdomain mymachine.home.com whose the IP changes on all the time that I need to update DNSMasq to have it resolve correctly. But I tested pinging xxxxxx.home.com which ...
2
votes
1answer
26 views

What are the most restrictive external firewall / DNS listening port settings I can have for my DNS server (internal clients only)

This question relates specifically to hardening the configuration of DNS, firewalls and at the limit, ntp. (not proxys, http access,vpn's or other services). This is about the externally-facing side ...
1
vote
1answer
36 views

In which case DNS uses TCP port 53

"Does DNS uses TCP port 53 also? If yes then in which scenario"
1
vote
1answer
37 views

How to set-up a local DNS? Is it related to a real one, external one?

I run Raspberries on Jessie in a home network, with quite a bunch of devices. I know many machines by IP, but it is slowly getting harder to keep on top of things. I use one machine as a server (...
2
votes
1answer
3k views

Static IP address shifting to 192.168.1.251

I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
2
votes
1answer
6k views

Ubuntu server cannot access the Internet: appears DNS related

This is a Drupal website running Ubuntu 12.04 LTS on Linode. The server is just a website. It is not a DNS server or anything else. Here are my issues. It seems they are all related to DNS issues. (I'...
0
votes
1answer
253 views

Ubuntu 12.04 resolver setup

When investigating how the DNS setup of my OS (Ubuntu 12.04) works, I came to some questions I could not really find on the web. So what I observed was, that Ubuntu uses dnsmasq as a DNS resolver. ...
7
votes
1answer
2k views

Why is dnsmasq putting my router IP in /etc/resolv.conf instead of 127.0.0.1?

I'm having DNS resolution issues in various contexts which appear to trace back to my networking configuration. I'm running just the dnsmasq-base installation of dnsmasq on two Linux installations (...
0
votes
1answer
232 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 ...
2
votes
1answer
949 views

Strange issue with curl/lynx and non resolving domains

I have a weird issue on my server in that if I use curl or lynx to try and access a URL that doesn't exist (say a non registered domain, or a domain that's not in DNS), I don't get an error, it ...
3
votes
1answer
819 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
0
votes
1answer
25 views

What would be the IP if not mentioned in hostfile

If I ping the host say ABC and there isn't any host to IP mappings mentioned in the /etc/host file then what IP will it take? P.S- The host that I am pinging belongs to an internal network.
61
votes
8answers
124k 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)
1
vote
0answers
21 views

how to troubleshoot domain name before re-pointing Nameservers

suppose I have a site: awesomefootball.com hosted on a Linux server with db etc.. For testing, I know how to pull a copy to my MacBook and set up /etc/hosts file to let me test at awesomefootball....
1
vote
1answer
29 views

point domain to my VPS CentOS7; Do I need DNS on my server? [closed]

I actually know how to configure my vps Virtual Host /etc/httpd/conf.d/vhost.conf but my question is, do I have to setup any sort of DNS on my VPS? Which way is the easiest way to point my domain to ...
0
votes
1answer
103 views

Trouble Joining an Active Directory Domain

I'm trying to join an Ubuntu 14.04 server to a Windows 2003 R2 domain. My admin says that from the controller side, it is part of the domain. But SSSD can't seem to start and DNS update fails. I've ...
2
votes
2answers
3k views

Virtual hosting a tomcat webapp in Apache on RHEL 5.0 [closed]

I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT... I don't want the end user to type: 10.21.34.56:8080/...
1
vote
1answer
222 views

can't open transfered website from old DS to new DS

I have 2 dedicated servers both running CentOS 5.3/Plesk 10. I've transfered a website (domain) from old server to a new one via Plesk migration manager and the website (domain) shows in the domain ...
1
vote
3answers
3k 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
31 views

SSH DNS lookup on local IP addresses [duplicate]

As I have come to understand, SSH always goes through the process of reverse DNS lookups whether you are connecting to user@example.com or a local server calleduser@192.168.0.56. I do not know, ...
0
votes
1answer
49 views

SSH takes too long to ask for password

I've seen many other questions on this subject but none seem to actually solve my problem. Like any other day, I connect to my LOCAL Raspberry Pi server from my client machine at 192.168.0.5 with ssh ...
3
votes
3answers
3k 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
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). ...
2
votes
2answers
84 views

Resolving hostname takes 5 seconds

I've a master bind9 DNS server and 2 slave servers running on IPv4 (Debian Jessie), using /etc/bind/named.conf: listen-on-v6 { none; }; When I try to connect from different server(s) each ...
1
vote
1answer
1k views

How can I force the IP address & hostname to only be exposed as domain.com on a Tomcat Server?

I have a web server which is running on CentOS 6 on top of Tomcat7. Everything works fine, however, there are many ways that users can access the server. For instance: IP Address domain.com www....
0
votes
1answer
20 views

How to restrict restrict remote administration software to one domain name?

I currently have a server hosting a number of websites on a debian server. I understand that all my domain names share the same IP so any of them will grant me access through SSH, but I was wondering ...
0
votes
1answer
26 views

PHP framwework, multiple sites and httpd and DNS

I'm wondering if this is possible: There is a PHP framework and someone made several sites, which can be accessible like this: .../index.php/aaa .../index.php/ccc I would like to somehow map DNS to ...
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 ...
0
votes
1answer
147 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 ping/...
0
votes
2answers
416 views

My local DNS don't resolv specific hostnames IP's

I've been trying to accomplish a DNS set up on my local machine using Linux and CentOS. I've been following couple of tutorials and eventually everything seemed to work but when surfing to my ...
0
votes
1answer
308 views

Server returning 'Not Found' for “www.host.com” but not “host.com”

My server is returning the correct paths for all of my domains as long as they are not prefixed with www. The following is one of my domains in it's simplest form: <VirtualHost *:80> ...
0
votes
2answers
2k views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
4
votes
2answers
119 views

Linux DNS Suffix Configuration

Introduction I have a Raspberry Pi running Rasbian connected to a Windows Server based network. This is a corporate (education) network that has its own intranet consisting of all connected computing ...
1
vote
1answer
51 views

Cannot Ping, nor Curl, but Nslookup works

On a freshly installed Fedora Workstation running the default Workstation spin which installs Gnome. I'm having problems getting to a web server on the LAN with my browser. The commands curl and ping ...
108
votes
14answers
338k views

How do I set my DNS when resolv.conf is being overwritten?

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

Use eth0 and eth1 for different subnets and assigned host name to interface?

I have a machine running SELES 10 with dual NIC Both the NICs are on separate subnets. The server uses a DHCP. So when one interface, eth0, gets the IP from DHCP and registers with DNS and then the ...
0
votes
0answers
2k views

Kali dnsspoof not redirecting

I am trying to do some "dnsspoof" examples in kali/linux.I set up a windows machine(client:192.168.1.24) and a kali/linux (server:192.168.1.23) I changed preferred dns address to server address in ...
1
vote
0answers
19 views

Trouble update-rc.d remove'ing dnsmasq on Debian Stretch

Background: On my Debian Stretch machine at home, I've noticed my DNS lookup times are pretty slow, and have concluded that the culprit is dnsmasq - since if I take it down, name resolution becomes > ...
4
votes
1answer
12k views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
1
vote
2answers
189 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: ...
2
votes
2answers
62 views

How to automatically fetch new name server on VPN connect

I am running ubuntu xenial 16.04 We are using openvpn to connect to a virtual private cloud. That cloud has it's own DNS server (as does our local route - home or office). When I connect to the VPN ...
2
votes
2answers
377 views

zone delegation in Bind

I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently. Is there a way ...
2
votes
1answer
58 views

How to override TTL in a caching-only bind9?

I have a caching-only DNS here. I want it to override the TTL fields of its cached records to reduce the mean network latency. Ideally I could set the TTL somewhere in the configuration, which would ...
1
vote
1answer
47 views

i can't open, ping,.. any domain after upgrade debian

after upgrade debian i cannot open or ping any domain even in firefox (but i havnt any problem via proxy). for example wget: unable to resolve host address ‘google.com’ but i can work with ip (add ...
0
votes
1answer
65 views

Connect to commercial VPN on OpenBSD 5.9

I recently installed OpenBSD 5.9 and I'm trying to get it functional enough to use as a replacement for Debian. One thing where I hit a brick wall is connecting to my VPN. I use a commercial VPN which ...
5
votes
1answer
109 views

How do I figure out where wrong local dns results are coming from?

I'm running mint Mate 17.2. When I use dig, for a certain specific domain name, the resolved IP "answer" is wrong, and the answer server is 127.0.0.1. Trying to access this domain from my local ...
1
vote
0answers
27 views

Socket timeout from an upstream DNS server nxfilter [closed]

We are using ubuntu 14.04 server and installed nxfilter latest version. After the run ./startup.sh script file, getting below error after the 2-3 minute and If i stop and start the again script then ...