LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-04-2006, 10:41 AM   #1
lordra
LQ Newbie
 
Registered: May 2004
Location: florida
Distribution: Red Hat Enterprise 4.0
Posts: 8

Rep: Reputation: -2
/etc/resolv.conf


So I followed the directions at http://www.troubleshooters.com/tpromag/9811/dns.htm it says that you are supposed to rename /etc/resolv.conf to (something else) so I did and I would come up with

[root@linuxhost myuid]# nslookup www.nag.cxm
Server: linuxhost.mydomain.cxm
Address: 0.0.0.0

Name: nag.mydomain.cxm
Address: 192.168.100.148
Aliases: www.nag.cxm

[root@linuxhost myuid]#
********************************

but the problem is I come up with
server: 127.0.0.1
Address: 127.0.0.1#53

non-authoritative answer:
name: www.emailbudda.com
address: 74.239.60.10

what gives why are they not the same in theory

chris
lordra@bellsouth.net
 
Old 05-05-2006, 06:54 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
I'm not sure what it is you are expecting to be the same. If you are concerned about the server reporting its IP address as 127.0.0.1, that is not really an issue. It is exactly what I would expect, rather than 0.0.0.0.

If you are concerned about the addition of "non-authoritative answer", that is also to be expected unless your nameserver is hosting the zone emailbudda.com.

I don't see a problem with your results. I do see a problem if you have followed an eight-year-old document in setting up your nameserver. You should have an /etc/resolv.conf, and it should list servers other than the localhost as resolvers. This helps to prevent DNS cache poisoning attacks. However, if you insist on using localhost for resolution, be sure to disable recursion for all but trusted hosts. Actually, disable it anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Hosts.conf or resolv.conf problem mac_casey Suse/Novell 0 03-26-2006 09:21 AM
Who changes /etc/resolv.conf? lmp Debian 4 11-29-2005 08:08 AM
resolv.conf albundy Linux - Software 5 12-14-2004 03:12 PM
/etc/resolv.conf Pedroski Linux - Networking 1 06-22-2004 10:03 AM
Resolv.conf tristan_vdv Linux - Networking 2 11-20-2001 06:49 PM


All times are GMT -5. The time now is 02:47 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration