LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2004, 11:09 PM   #1
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Rep: Reputation: 0
Angry know what bind, dns, a domain, and an internal network have in common? me neither


o i have a domain bluebaron.ca
o dns is provided by a third party server domainmonger.com
o i have one server that provides all the internet services
o that same server is also the router for my internal network
o i want to put the network on the domain bluebaron.ca - i really don't care about the internal hosts being on the internet domain bluebaron.ca
o the server also provides the internal network with dns resolution
o i want the dns server to allow dynamic updating from its internal network hosts
** basically what i want is the ability to have the hosts in the network register with the bind server so that i can with a host in my network, ping by hostname and be able to resolve the address of another host in the network **

___Major Tool___
 
Old 07-06-2004, 10:50 AM   #2
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
Re: know what bind, dns, a domain, and an internal network have in common? me neither

Quote:
Originally posted by majortool
o i have a domain bluebaron.ca
o dns is provided by a third party server domainmonger.com
o i have one server that provides all the internet services
o that same server is also the router for my internal network
o i want to put the network on the domain bluebaron.ca - i really don't care about the internal hosts being on the internet domain bluebaron.ca
o the server also provides the internal network with dns resolution
o i want the dns server to allow dynamic updating from its internal network hosts
** basically what i want is the ability to have the hosts in the network register with the bind server so that i can with a host in my network, ping by hostname and be able to resolve the address of another host in the network **

___Major Tool___
As a general rule, I don't find it likely that your DNS provider is going to allow dynamic DNS updates. If you need to permit updates, why not configure your DNS service for your domain, and configure forwarders for non-local traffic. Then you could set a domain suffix, and be on your way, if I understand you correctly.
 
Old 07-06-2004, 03:50 PM   #3
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
i can't do that
last year the irapa(or something like that) blocked cable providers from being able to use their hosts as dns servers
i only care about the dns for my internal network
basically all i want to be able to do is have hosts on my internal network register with the my router's dns resolve so we can ping by the hostname that the host registers with the dns
 
Old 07-07-2004, 09:34 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You only need to add the entries to the local dns server for your network as well as keeping the root.hints file updated and you can use your dns server to resolve addresses on the internet or the lan. People on the internet would resolve your ip address using the registrar dns server you are paying for.

It will not be possible to have all hosts on the lan accessable on the internet unless they have valid ip addresses provided by your isp and are registered in dns provided by any company you choose to use.

With the company you register with you can choose something like this..


68.63.245.67 host1.domain.com
66.145.27.245 host2.domain.com
67.34.21.231 *.domain.com
 
Old 07-08-2004, 09:25 AM   #5
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
i only care about the resolve within my network
i don't care about anything else
i want to do something like wins resolution
i want the resolve that handles my dns internally to be able to resolve hosts on my internal network internally only
internal network ONLY
i think the biggest issue i have is no one understands my issue
 
Old 07-10-2004, 12:12 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Your saying you want a dns server that will update as hosts are added to the network.



** basically what i want is the ability to have the hosts in the network register with the bind server so that i can with a host in my network, ping by hostname

These hostnames need to be added to the dns server "BIND" and the dhcp server and BIND must be compatible for it to work.

Basically you'll need dhcp.conf to contain something like this..

subnet 192.168.0.0 netmask 255.255.255.0 {
ddns-updates on;
range 192.168.0.101 192.168.0.200;
allow unknown-clients;
}


Linux client's interface config file..

DHCP_HOSTNAME="mybox.mydomain.com"


Some distros may be different syntax for the interface config file.

--------------------------------------------------------------------------




and be able to resolve the address of another host in the network **


When a host joins they will be able to get the hostnames from the dns server.

Providing that dhcp sets the dns to your dns server.
 
Old 07-10-2004, 07:08 PM   #7
majortool
LQ Newbie
 
Registered: Sep 2003
Distribution: gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
which domain should the computers in my internal network be on
if i have bluebaron.ca but i can't make updates should my network be on a different domain even though my internal resolution wont affect anyone else
i can create a zonefile for bluebaron or should it be localhost or 127... or should i create a new domain name for my internal network
 
Old 07-11-2004, 12:24 AM   #8
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
The domain internally will not matter since the outside world will not know about it. You're in your own little world there so if you want to name it bluebaron.ca, go for it. Personally I make my local domains something blantantly local like homenet.local or something stupid like that.

Cheers,

MrKnisely
 
Old 07-14-2004, 12:04 AM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Yes, I use the same one on my LAN as the actually name, so either way it's up to you.
 
Old 07-26-2004, 02:37 PM   #10
pploco
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by DavidPhillips
Your saying you want a dns server that will update as hosts are added to the network.



** basically what i want is the ability to have the hosts in the network register with the bind server so that i can with a host in my network, ping by hostname

These hostnames need to be added to the dns server "BIND" and the dhcp server and BIND must be compatible for it to work.

Basically you'll need dhcp.conf to contain something like this..

subnet 192.168.0.0 netmask 255.255.255.0 {
ddns-updates on;
range 192.168.0.101 192.168.0.200;
allow unknown-clients;
}


Linux client's interface config file..

DHCP_HOSTNAME="mybox.mydomain.com"


Some distros may be different syntax for the interface config file.

--------------------------------------------------------------------------




and be able to resolve the address of another host in the network **


When a host joins they will be able to get the hostnames from the dns server.

Providing that dhcp sets the dns to your dns server.


Just tagging along on this one. When you say "Linux clients interface config file.." Would that be something that a win-blows machine could pull as well?

thanks
 
Old 07-27-2004, 12:42 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Yes, you can do that in the TCP/IP properties for your interface. It would be under DNS Configuration.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS registration on internal network acb67 Linux - Networking 4 03-02-2005 01:14 PM
DNS/BIND domain 'authority' tisource Linux - Software 7 07-15-2004 06:16 AM
Can bind 9 (DNS) resolve names based on who's asking?? (internal vs. external clients registering Linux - Networking 3 06-16-2004 07:25 AM
adding win 2000 server domain controller, bind dns GraemeK Linux - Networking 6 08-23-2003 05:44 PM
DNS For an internal network??? Milkman00 Linux - General 6 09-02-2002 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration