RE: DNS setup question

2000-01-30 Thread Glen S Mehn
If you set up your DNS server correctly with the IPs that you want, and tell
it that it's the SOA record for animedia.com, then it'll point itself and
any 'puters that point to it as primary DNS to the IP address, regardless of
the root servers. It's a good way to test your DNS setup.

You can also use interactive nslookup. If you just type nslookup without any
arguments, you'll get a prompt:



then you can say nameserver servername or IP

and it'll lookup stuff through that nameserver. It's also a good way to
debug stuff.

Adding the nameserver is as simple as adding a line to your
/etc/bind/named.conf and setting up the zone file for it. The BIND-HOWTO has
answers on this one.

Regards,

Glen


-Original Message-
From: Alec Smith [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 29, 2000 2:12 PM
To: debian-user@lists.debian.org
Subject: DNS setup question


Right now I've got my Debian-based server acting as a DNS cache. I'm in the
process of moving a domain from one hosting company to another, and I'd
like to be able to test things as if this domain was pointed at the new
server instead of the old. I'm not quite ready to update the domain records
with InterNIC though.


Is there some way I can make my local DNS server report back to me that
amimedia.com is 209.68.1.210 instead of the old IP, but without having to
change things for the rest of the world? I'm not a Bind whiz, so pointers
are much appreciated.

I don't want to drop the DNS cache since it speeds things up most of the
time. Eventually I'd like to add DNS to another LAN I run, so I'd like to
use this as a chance to start learning how to configure Bind as opposed to
just adding another entry for DNS caching (to point at Pair Network's DNS
for the new amimedia.com IP).


Alec Smith


Re: DNS setup question

2000-01-30 Thread aphro
if i understand what your asking you should be able to

nslookup
server your new dns IP
domain.com


where domain.com is the domain you want to lookup.  the DNS will tell you
what it thinks the IP is.  if it is configured right it will show what you
expect. the server command tells nslookup to change it's default DNS to
ask some other server info.

nate


On Sat, 29 Jan 2000, Alec Smith wrote:

alec Right now I've got my Debian-based server acting as a DNS cache. I'm in 
the 
alec process of moving a domain from one hosting company to another, and I'd 
alec like to be able to test things as if this domain was pointed at the new 
alec server instead of the old. I'm not quite ready to update the domain 
records 
alec with InterNIC though.
alec 
alec 
alec Is there some way I can make my local DNS server report back to me that 
alec amimedia.com is 209.68.1.210 instead of the old IP, but without having to 
alec change things for the rest of the world? I'm not a Bind whiz, so pointers 
alec are much appreciated.
alec 
alec I don't want to drop the DNS cache since it speeds things up most of the 
alec time. Eventually I'd like to add DNS to another LAN I run, so I'd like to 
alec use this as a chance to start learning how to configure Bind as opposed 
to 
alec just adding another entry for DNS caching (to point at Pair Network's DNS 
alec for the new amimedia.com IP).
alec 
alec 
alec Alec Smith
alec 
alec 
alec -- 
alec Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
alec 

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
11:43pm up 163 days, 11:51, 1 user, load average: 1.04, 1.19, 1.12


DNS setup question

2000-01-29 Thread Alec Smith
Right now I've got my Debian-based server acting as a DNS cache. I'm in the 
process of moving a domain from one hosting company to another, and I'd 
like to be able to test things as if this domain was pointed at the new 
server instead of the old. I'm not quite ready to update the domain records 
with InterNIC though.



Is there some way I can make my local DNS server report back to me that 
amimedia.com is 209.68.1.210 instead of the old IP, but without having to 
change things for the rest of the world? I'm not a Bind whiz, so pointers 
are much appreciated.


I don't want to drop the DNS cache since it speeds things up most of the 
time. Eventually I'd like to add DNS to another LAN I run, so I'd like to 
use this as a chance to start learning how to configure Bind as opposed to 
just adding another entry for DNS caching (to point at Pair Network's DNS 
for the new amimedia.com IP).



Alec Smith