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 08-05-2011, 03:04 AM
Genes MailLists
 
Default dns resolver issue

I have a C program which does dns lookups of a large number of IP
addresses by using calls to getnameinfo() in a loop. Its designed to be
a very fast way to do lookups on cidr blocks.

On all earlier versions of fedora (f8-f14) this works just fine. On
F15 it does not always work - sometimes it returns nothing. Run it again
- nothing - run it a 3rd time and it works fine - printing out the list
of ip/hostname pairs. Sometimes it works fine first time.

The /etc/resolv.conf has the localhost bind (127.0.0.1) as the first
entry.

It was recompiled on f15 ... since its intermittent its annoying to
debug - has anyone else seen this kind of problem ?

Thanks.

gene
--
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/Mailing_list_guidelines
 
Old 08-05-2011, 03:22 AM
Jorge Fábregas
 
Default dns resolver issue

On 08/04/2011 11:04 PM, Genes MailLists wrote:
> The /etc/resolv.conf has the localhost bind (127.0.0.1) as the first
> entry.

Could it be something in your DNS server configuration (bind)? Try the
dig command:

dig -x IP_HERE

or

dig @DNS-SERVER -x IP_HERE

...and see if you get the same behaviour.

--
Jorge
--
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/Mailing_list_guidelines
 
Old 08-05-2011, 04:14 AM
Genes MailLists
 
Default dns resolver issue

On 08/04/2011 11:22 PM, Jorge Fábregas wrote:
> On 08/04/2011 11:04 PM, Genes MailLists wrote:
>> The /etc/resolv.conf has the localhost bind (127.0.0.1) as the first
>> entry.
>
> Could it be something in your DNS server configuration (bind)? Try the
> dig command:
>
> dig -x IP_HERE
>
> or
>
> dig @DNS-SERVER -x IP_HERE
>
> ...and see if you get the same behaviour.
>
> --

Thanks for your suggestions .. but mea culpa.

So sorry - user error - seems there was a code tidy on the move to f15
- led to bug from renamed error variable ... sorry for noise ..


--
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/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 11:57 PM.

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