Myname and DNS.
David Walker
davidianwalker at gmail.com
Sun May 3 03:40:49 CEST 2009
Guten tag.
Usually I use OpenBSD on the desktop and have no cause to get my head
around any sophisticated networking.
The extent I usually go to is choosing a machine name and accepting
the default domain which is home I think.
I end up with this in myname(5):
# cat myname
david.home
I have a static IP from my ISP which gives me a real world name:
pppxxx-xx.static.internode.on.net
I am wondering if there is a possibility of incorporating this into
myname(5) and if there are any advantages or disadvantages to this.
I want to learn more about DNS on OpenBSD and figure this is possibly
a good start - rather than trying to get it working using two
different names.
Can someone please confirm whether I have this correct:
/etc/hosts is a list of known machines for quick resolving without
using external DNS servers or named.
/etc/resolv.conf is instructions telling lookups whether to use the
hosts file and what external DNS server to query. Also whether to use
named.
/etc/named.conf is the settings for running the local DNS server.
I am looking through named.conf(5) and it is reasonably complex (for me).
Are there any cheap setups that work?
At the moment this is optional for me (BIND) but I would like to put
some effort into it.
Best wishes.
More information about the Openbsd-newbies
mailing list