Networking Forums

Networking Forums > Computer Networking > Linux Networking > Setting up an internal network DNS server

Reply
Thread Tools Display Modes

Setting up an internal network DNS server

 
 
NOSPAM
Guest
Posts: n/a

 
      08-22-2003, 02:51 AM
Hello,
I'd like to use my Linux box as a BIND server for my internal network.
I'd like for users to be able to to access, say, server1 instead of
192.168.1.22 . I've searched through a ton of DNS documents but I
can't
find out how to do this specifically, all the docs I've found are
focused on setting up servers for the rest of the world or for a
network that already has a FQDN (which I do not) Could you give
me some pointers on how to do this?
Thanks,
Harold
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      08-23-2003, 02:18 AM
On 22 Aug 2003 07:44:32 -0700, NOSPAM <(E-Mail Removed)> wrote:
> (E-Mail Removed) (David Efflandt) wrote in message news:<(E-Mail Removed)>...
>> On 21 Aug 2003 19:51:59 -0700, NOSPAM <(E-Mail Removed)> wrote:
>> > Hello,
>> > I'd like to use my Linux box as a BIND server for my internal network.
>> > I'd like for users to be able to to access, say, server1 instead of
>> > 192.168.1.22 . I've searched through a ton of DNS documents but I
>> > can't
>> > find out how to do this specifically, all the docs I've found are
>> > focused on setting up servers for the rest of the world or for a
>> > network that already has a FQDN (which I do not) Could you give
>> > me some pointers on how to do this?

>>
>> It is not much different for local DNS than for public DNS, the difference
>> being that locally, you can do whatever you want to. Just make sure that
>> the local domain you pick is either one you own, or something bogus that
>> cannot possibly be registered. For example the private domain in RedHat
>> is typically localdomain and in SuSE is simply local. Example of local
>> forward and reverse zones added to named.conf:
>>
>> zone "localdomain" in {
>> type master;
>> notify no;
>> file "pz/localdomain.zone";
>> };
>>
>> zone "1.168.192.in-addr.arpa" in {
>> type master;
>> notify no;
>> file "pz/1.168.192.zone";
>> };
>>
>> Then just follow the DNS HOWTO for setting up the zone files using
>> existing localhost and 0.0.127.in-addr.arpa zones from your bind as
>> examples of anything that might be different. NOTE: pay attention to when
>> you use a trailing dot or not for a name in a zone file.

>
> Could I do something like claiming to be a root server so that instead
> of acessing server1.localdomain I could just acess server1 (since
> server1 isn't a valid TLD). I'm new to bind, so if this is a stupid
> question, well, at least I tried


You would simply put the following in your /etc/resolv.conf:

search localdomain

Then it would try to resolve a simple hostname in your localdomain.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a VPN client's internal network visible to the VPN server \Rob\ Windows Networking 5 11-03-2006 06:47 PM
Virtual Server Internal Network Setup Paul Cannon Windows Networking 1 03-09-2006 08:19 PM
How best to route internal clients to internal web server? Captain Dondo Linux Networking 5 03-02-2005 08:13 AM
pptp server routing internal network problem Bojan Kraut, Alcyone Linux Networking 1 05-03-2004 02:31 AM
Connection problem : ADSL Internet -> Win2K Server -> internal Network Don Kearns Windows Networking 1 02-18-2004 04:08 PM



1 2 3 4 5 6 7 8 9 10 11