Re: named shows different results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/29/2011 11:04 AM, Jorge Fábregas wrote:
> On 06/29/2011 01:26 PM, fedora wrote:
>> from the outside world, the new (correct) value is always returned.
>>
>> what could the problem be and how to avoid it?
> 
> You are viewing the contents of different caches.  Your internal "view"
> has a cache and your "external" view has another one (I assume you're
> using "bind views"). So, for example, if you do:
> 
> dig @127.0.0.1 whatever.com
> 
> ..you may not get the same result as:
> 
> dig @my-external-ip whatever.com
> 
> I don't know how's your bind setup but which cache you get will depend
> on the configuration you have.  If your views are separated based on
> destination ip (contrary to source ip) then you could place your
> external ip in your /etc/resolv.conf so that all responses to queries
> within your server match that of the external clients.  But then again,
> be careful on how you reference your server when using dig because as I
> mentioned, you'll get different results.

You might also check to see if you have nscd running on the machine and
if so, you might want to purge its cache: "nscd -i hosts".

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux