BIND 9.2.2 and OS X Tiger Server

rreece-misc rreece-misc at socamail.com
Wed Nov 2 15:50:17 UTC 2005


Hi Daniel,
If you are trying to get the hostname pointing to the local IPs, add this 
into your /etc/hosts file:

127.0.0.1               <hostname>
192.168.1.200   <hostname>

Currently you should see:

127.0.0.1       name1 localhost.localdomain localhost

(name1 is the name of the server that I copied this from)


At 04:10 PM 11/2/2005 +0100, Daniel Ström wrote:

> > On Nov 2, 2005, at 6:19 AM, Daniel Ström wrote:
> >
> >> Hey!
> >>
> >> We just got a new firewall and this is the first machine i´m hooking
> >> up a server behind it. This server has a static internal IP of
> >> 192.168.1.200 and also a static external IP that points to the
> >> firewall wich use one-to-one NAT for pointing the external adress to
> >> the internal. I have added the domain for this server in my
> >> Authorative DNS (BIND 9.2.2) that resides outside the firewall and
> >> everything is working fine. I have added both DNS-servers in DNS-
> >> settings (in the server) and i can browse and send/recieve mail fine
> >> but it´s this one thing that bugs me. I dont think it resolves to
> >> itself (at least that´s what i think it is).
> >>
> >> This is a Mac OS X Server 10.4 box and if anyone of you is familiar
> >> with Server Admin (the admin tool for os x server) it does not
> >> display a DNS name like my two other DNS servers does. Is that
> >> because it cant resolve its own domain name? If anyone can point me
> >> in the right direction here on how to correct this i would really
> >> appriciate it.
> >>
> > You might check /etc/hostconfig for a line that looks like the
> > following:
> >
> > HOSTNAME=<hostname>
> >
> > That file is supposed to be maintained by the system but I have
> > edited that line before to get the hostname to show up.
> >
> >> / Daniel
> >>
> >>
> >
> > Paul
> >
>
>Thanks for helping out Paul, i really appriciate it.
>
>I had a look in /etc/hostconfig and HOSTNAME was set to AUTOMATIC, i
>changed it and rebooted but with no luck, any other suggestions?
>
>
>/ Daniel



More information about the bind-users mailing list