[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test network DNS server w/o Internet access: Is it possible?



On Sun, 2003-02-23 at 14:45, Robert Threet wrote:
> I have a Slackware 8.0 box and I'm trying to set up a test network
> with a bogus DNS server so that the three servers on this standalone
> network can "think" that they are resolving their names.  Can this
> work or do I have to have an Internet connection for the DNS server? 
> Anything special need to be done (i.e. remove named.cache reference?)

DNS should still work without an Internet connection, root name servers,
etc.  I've set it up in such situations before.

> For example:
> 
> www 10.1.1.1
> mail   10.1.1.2
> ns1     10.1.1.3
> 
> All three use ns1 for DNS.  It doesn't work (most likely the DNS
> config).  

Have you told BIND that it is authoritative for the top-level domain? 
You still need to do this.

Something like this for BIND 9 should work:

zone "my.domain" {
  type master;
  file "/path/to/name/db";
};

zone "10.in-addr.arpa" {
  type master;
  file "/path/to/reverse/name/db";
};

> [P.S. - The "Why?"]  I'm doing a migration to new hardware that
> requires the target have the same FQDN as the original.  I can't
> install on the new system unless it resolves itself as the old name
> and IP address.  Until I have the product installed, I can't (of
> course) migrate the data.

Heh.  Gotta love copy protection.

Does the vendor provide a migration guide for this situation?  How do
they recommend you solve this problem?
-- 
Jeff Licquia <jeff@licquia.org>

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.