?
Solved

Reverse DNS query - PTR records ..

Posted on 2008-10-04
5
Medium Priority
?
450 Views
Last Modified: 2013-12-16
My linux box has two interfaces eth0 and eth1  configured with 10.232.19.100 and 192.168.1.1 respectively .

But as soon as the box is restarted , the box send reverse dns query (PTR ) to  nameserver defined in /etc/resolv.conf file .
 1. why this reverse dns query is sent out ? Can i assign any name to these interfaces so that it wont query a PTR records .

i defined entries in /etc/hosts file  for eth0 and eth1 , and defined /etc/host.conf . But still it sends out reverse dns query .

2 . Why it is not picking entries from /etc/hosts file .
3 . There is a reverse dns query for 192.168.1.0 also . WHy it is so ?
0
Comment
Question by:91Change
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Author Comment

by:91Change
ID: 22640349
but if i add  
nameserver 127.0.0.1   then everything seems to work fine .How this is possible since   no dns server running on my linux box . But if i make changes in /etc/hosts file , it takes reboot to take effect .

Can you help with these problems ?
0
 
LVL 51

Assisted Solution

by:Keith Alabaster
Keith Alabaster earned 200 total points
ID: 22640400
You have a network defined as 192.168.1.0 by the nature of having a nic with the ip address of 192.168.1.1 - why would you NOT expect the server to try and contact the nameserver listed as responsible for the 192.168.1.0 network to check that there is a ptr record for 192.168.1.1?

0
 

Author Comment

by:91Change
ID: 22640848
There is no PTR for my address in nameserver . I dont have admin privilege in nameserver .

These dns reverse queries keep coming and really slowing down my connection . I can see it thru wireshark . So i need to resolve in my box itself by some means .
0
 

Author Comment

by:91Change
ID: 22640895
My reverse dns query  get resolved  in the box itself ? .....I would like to do this happen ..
0
 
LVL 40

Accepted Solution

by:
noci earned 300 total points
ID: 22673745
Reverse queries are mostly done because some software was asked to log a hostname into the logfiles. THen any address involved on your system will have it's name asked out.

You can't prevent them otherwise as NOT to log hostnames. (in whatever software is asked to do that).

Also if you have access restrictions in xinetd or others and have a name there the incoming address is looked up and compared to check for access.

If you don't want to use DNS, than you need to setup host files.
But configuring the named server to have PTR zones is not that difficult
so why not take that easy route.
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Resolve DNS query failed errors for Exchange
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question