DNS Response Issue


 
Thread Tools Search this Thread
Operating Systems Linux DNS Response Issue
# 1  
Old 11-18-2015
DNS Response Issue

Hi,

I have a Windows based Domain (abc.com)servers like:

172.30.1.246
172.30.1.247
172.30.3.246
172.30.3.247

On all my Linux servers (/etc/resolv.conf) have a following DNS servers entries:

nameserver 172.30.3.246
nameserver 172.30.3.247

But when i ping my Domain (abc.com), it always get a response from 172.30.1.246, 172.30.1.247
# 2  
Old 11-18-2015
We understand the environment now, and the problem is what?
# 3  
Old 11-19-2015
Problem is that, i mentioned a following DNS servers address in /etc/resolv.conf:

172.30.3.246
172.30.3.247

But always get a ping response from the following DNS servers which is not mentioned in /etc/resolv.conf:

172.30.1.246
172.30.1.247
# 4  
Old 11-19-2015
So is the problem that DNS doesn't work?

If so, why are you talking about ping response from other ip addresses? If those ip addresses exist on your network, then ping responses are no surprise. Why are you connecting the ping responses from 172.30.1.246/7 with DNS servers on 172.30.3.246/7

Are 172.30.1.246/7 the Windows domain controllers?

Do the DNS servers 172.30.3.246/7 work for DNS resolution for the Windows clients?

I am sorry but I still don't understand the issues properly. What happens if you ping the DNS server address(es) from Linux boxes?
# 5  
Old 11-23-2015
You can force a particular DNS to be queried like this:-
Code:
nslookup unix.com 172.30.3.246

Does that help?

It may be that your server tries only a few by default, but if some go offline then it will go to the others too. What happens if you knowingly set the first two addresses to servers that don't offer DNS? Does a ping or nslookup still work?



Robin
# 6  
Old 11-24-2015
In the Unix/Linux world nobody pings the domain. There can be zero servers configured.
DNS needs the following only
Code:
nslookup -q=ns my.domain

The result is important for all DNS servers. While caching-only servers do not need to show up there. The clients rely on the resolv.conf only.
I guess your Linux systems have caching-only servers configured.

Last edited by MadeInGermany; 11-24-2015 at 04:16 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

HP-UX DNS issue

Hi All, I'm having some problems with our HP-UX environment. I'm running Oracle EBS on a HP-UX system, and whenever my primary dns server goes down some of my clients can no longer connect. Everything on my windows side continues to work, and clients can reach the internet and other services... (6 Replies)
Discussion started by: agonza07
6 Replies

2. IP Networking

Tweaking the DNS response

Hi All, The following is the scenario. I open the browser and request a web page. The DNS query is sent to the DNS server of my company and replies my GNU/Linux machine with a DNS response. I have "insmod"ed a kernel module that picks up the DNS response and over rides the "Addr" field of... (2 Replies)
Discussion started by: rstnsrr
2 Replies

3. Red Hat

DNS Resolution Issue

Hello, Having issue resolving DNS using the IP address. Using the server Name it resolves fine. Was wondering if there is any configuration issue. # nslookup xxxxxxxx01 Server: Primary DNS IP Address: Primary DNS IP#53 Name: xxxxxxxx01.local domain Address: x.y.z.123 # nslookup... (1 Reply)
Discussion started by: ikn3
1 Replies

4. Red Hat

dns update issue

i have redhat service as public dns i have added new entry but when i reload the named service i got this error in log the working directory is not writable (1 Reply)
Discussion started by: leganti
1 Replies

5. Red Hat

Issue in DNS set up

:wall:I am a beginer in Linux admin. I have build new DNS setting in my system. Please find the below procedure what I followed to build DNS. but at last when I fired nslookup command, its getting error. I am using RHEL5 OS. Please help me to resolve this below issue.. Advance thanks for... (1 Reply)
Discussion started by: pradipta_pks
1 Replies

6. Red Hat

DNS issue in Redhat 9

Hi all m newbie in linux and trying to setup my internal DNS server for local network.After messing with DNS for hours i am posting this. i have configured /etc/resolve.conf, hostname with domain name in /etc/sysconfig/network file,/etc/hosts file with local host entry and zone file... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies

7. IP Networking

Apache mod_proxy +DNS slow response problem

My company has a private network, including a Apache web server (Linux) and some WinXP machines. The web server had been configured to use mod_proxy to connect to window update site via another company proxy server. It works for few years. Recently, some parties had setup a DNS server on the... (2 Replies)
Discussion started by: donaldfung
2 Replies

8. UNIX for Advanced & Expert Users

DNS issue still not looking in files

anyone ever seen this problem with /etc/nsswitch.conf forcing the system to look in files then dns but the system ignores the files and goes off check the dn servers is there any further config I've missed ??? /etc/resolve.conf name servers >>>> boring IPS /etc/nsswitch.conf is set to... (5 Replies)
Discussion started by: kie
5 Replies

9. IP Networking

DNS issue.

Hi, We use linux as a DNS server for our local network. ( linuxnol.nollekens.be ) We can ping this machine on all our XP clients like this: C:\>ping linuxnol Until yesterday it was on our XP clients enough to type "ping ibm250" ( our 2de unix server, an AIX ). But after a shutdown of this... (1 Reply)
Discussion started by: progressdll
1 Replies
Login or Register to Ask a Question