FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-02-2010, 09:57 AM
Duncan Berriman
 
Default bug/feature in host/nslookup command - queries wrong server

Hi,

I have noticed that fedora 10 appears to ignore the server option when
using host or nslookup if the host in question is not available.

The commands should return no server available as they have in the past
but instead decide to query the local name server and return results
from that.

# nslookup google.co.uk 123.123.123.1
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: google.co.uk
Address: 66.102.11.99
Name: google.co.uk
Address: 66.102.11.104

# host google.co.uk 123.123.123.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

google.co.uk has address 66.102.11.104
google.co.uk has address 66.102.11.99
google.co.uk mail is handled by 10 google.com.s9b1.psmtp.com.
google.co.uk mail is handled by 10 google.com.s9b2.psmtp.com.
google.co.uk mail is handled by 10 google.com.s9a1.psmtp.com.
google.co.uk mail is handled by 10 google.com.s9a2.psmtp.com.

Using the debug option does not reveal anything it appears that the
command just decides since it can't connect to the server in question it
will query the servers defined in resolv.conf instead.

Is there an option in later release of fedora to enable/disable this? Is
it expected behaviour now?

Help!

Duncan
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 02-03-2010, 12:49 AM
Tim
 
Default bug/feature in host/nslookup command - queries wrong server

On Tue, 2010-02-02 at 10:57 +0000, Duncan Berriman wrote:
> I have noticed that fedora 10 appears to ignore the server option when
> using host or nslookup if the host in question is not available.

Have you checked the man file for any syntax changes to the command?

I notice Fedora 9 behaves the way you describe. Alternatively, you can
use the dig command to query specific servers.

--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 02-03-2010, 01:01 AM
Tom Horsley
 
Default bug/feature in host/nslookup command - queries wrong server

On Wed, 03 Feb 2010 12:19:13 +1030
Tim wrote:

> Alternatively, you can
> use the dig command to query specific servers.

Yea, but you can't understand anything dig prints
to stdout, so using it to do queries is hopeless :-).
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 

Thread Tools




All times are GMT. The time now is 09:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org