On Thu, Jun 26, 2003 at 11:58:14PM +0000, Voytek Eymont ([EMAIL PROTECTED]) wrote:
> any BIND experts ?
>
> If I am setting up primary DNS server, it is supposed to resolve to itself
> first, like:
>
> 127.0.0.1
> <it's hostid>
> <slave DNS host>
<offtopic>
What about OS/2? Still using it? you should have my email in your newsletter file ...
;-)
</offtopic>
You have another option, in host.conf you specify:
order hosts,bind
which basically says that on *local* lookups it should first look in the
"hosts" file and if NOT found go ask the nameserver. So your "hosts"
file should have something like this:
127.0.0.1 localhost localhost.localdomain
EXTERNAL_IP your.external.domain.name.com its_external_shortname
INTERNALIP your.internal.domain.name.com its_internal_short_name
You could off course specify a few more machines in there to make
local lookups quicker.
With local I mean "any process running on the machine requesting a lookup".
jobst
--
Be gentle with the earth.
__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
_ _.--'-n_/ Barrett Consulting Group P/L & The Meditation Room P/L
-(_)------(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug