From: "Tiago Andre" <[EMAIL PROTECTED]>
Subject: Re: your mail about "domain name"


> what i mean is that other hosts can 
>ping your IP but not your name...
> 
> My DNS server is in my LAN
> and i have acces to it
> 
 
Setting up BIND is a pretty complex subject.
There is a chapter in the handbook devoted
to it.  Generally, if you've already got it
working <?> it should just be a matter of
adding the new host's name to the zone file
on the nameserver, incrementing the serial
number in the zone file, and restarting the
name daemon.

Something like<as root>:

$cd /etc/namedb
$ed my.domain.hosts

<increment the serial number>

<add an A record for your new host>
my.old.host.         IN      A       192.168.0.100
my.new.host.       IN      A       192.168.0.101

<restart the name daemon>
$ndc restart

make sure your LAN hosts are using
*your* DNS server to do their lookups.

<test your DNS server's response---
in the example, I'm shelled into the nameserver>

$nslookup - your.dns.server
Default Server:  localhost.my.domain
Address:  127.0.0.1

>my.new.host

Server:  localhost.my.domain
Address: 127.0.0.1

Name:    my.new.host
Address:   192.168.0.101

That should about take care of it, unless
I'm not understanding the questions, which
is quite possible, even likely....

HTH,

Kevin Kinsey


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to