Re: [Fwd: Re: Domain name for local network?]

2004-01-22 Thread Lowell Gilbert
Benjamin Meade <[EMAIL PROTECTED]> writes:

> Mauricio wrote:
> > Assuming you a using a router to go outside, what you call your
> > internal network is your own business.  Only problem would be if
> > someone from the outside had to access it.
> 
> Once a dns server is set as authoritive, doesn't it try to update the root
> servers regarding the domain?

Nope.

[Fortunately; think about the security issues if the root servers
would listen to such updates.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Fwd: Re: Domain name for local network?]

2004-01-22 Thread Benjamin Meade
Mauricio wrote:
Assuming you a using a router to go outside, what you call your 
internal network is your own business.  Only problem would be if someone 
from the outside had to access it.
Once a dns server is set as authoritive, doesn't it try to update the root
servers regarding the domain?
--
Benjamin Meade
System Administrator
LanWest Pty Ltd
Ph:  +61 (8) 9440 3033
Fax: +61 (8) 9440 3370
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Domain name for local network?

2004-01-22 Thread Robert Huff

Chris writes:

>  If he's behind some sort of routing device, he can certainly
>  setup a DNS witin his own network.

Of course; the trick is to do it in such a way that when - may
it be soon! - he gets out from behind that routing device changing
to a real DNS setup will be quick, relatively painless, and not
complicate anyone else's life.  I recommended installing Bind 9 and
using views.


Robert Huff


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Domain name for local network?

2004-01-22 Thread Chris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 22 January 2004 03:31 pm, Melvyn Sopacua wrote:
> On Thursday 22 January 2004 20:32, Jonathon McKitrick wrote:
> > If I have a couple of boxes in a home network that connects to the
> > Internet via ppp, is there any way I can name my network?  I don't want
> > to register a name, just use it locally.  This way I can refer to
> > 'neptune.jonathon.org' or something similar rather than '10.0.0.1'.
>
> Andrew gave a good HOW-TO.
> In general, you would choose a TLD (the last part of a domainname, like
> .org or .net) that does not exist on the internet, so that you never
> confuse it with a real domainname.
>
> .lan, .home or .here are good candidates.

If he's behind some sort of routing device, he can certainly setup a DNS witin 
his own network.

- -- 
Best regards,
Chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAEEMKD5P/gMAbw2MRAvuUAJ9YHF3dH+VPpeDPNTysaVGaoZCVPwCgl6VT
QYMOOZgA4cxGgeNUCj5tr4w=
=rTss
-END PGP SIGNATURE-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Domain name for local network?

2004-01-22 Thread Mauricio
At 19:32 + 1/22/04, Jonathon McKitrick wrote:
If I have a couple of boxes in a home network that connects to the Internet
via ppp, is there any way I can name my network?  I don't want to register
a name, just use it locally.  This way I can refer to 'neptune.jonathon.org'
or something similar rather than '10.0.0.1'.
NOTE: Please CC me, as I am not currently subscribed.  Thanks.
	Assuming you a using a router to go outside, what you call 
your internal network is your own business.  Only problem would be if 
someone from the outside had to access it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Domain name for local network?

2004-01-22 Thread Melvyn Sopacua
On Thursday 22 January 2004 20:32, Jonathon McKitrick wrote:

> If I have a couple of boxes in a home network that connects to the Internet
> via ppp, is there any way I can name my network?  I don't want to register
> a name, just use it locally.  This way I can refer to
> 'neptune.jonathon.org' or something similar rather than '10.0.0.1'.

Andrew gave a good HOW-TO.
In general, you would choose a TLD (the last part of a domainname, like .org 
or .net) that does not exist on the internet, so that you never confuse it 
with a real domainname.

.lan, .home or .here are good candidates.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: Domain name for local network?

2004-01-22 Thread Andrew Boothman
Jonathan Chen wrote:

On Thu, Jan 22, 2004 at 07:32:36PM +, Jonathon McKitrick wrote:

If I have a couple of boxes in a home network that connects to the Internet
via ppp, is there any way I can name my network?  I don't want to register
a name, just use it locally.  This way I can refer to 'neptune.jonathon.org'
or something similar rather than '10.0.0.1'.


You can name it anything you like. If it were me, I'd set up an
internal DNS which is authoritative for the local domain name you've
chosen. That way it'll pick up the local machines for the domain-name
but still work for non-local domains.
I use this method all the time.

If you look at the headers of this email you'll find that my mail server 
on my LAN refers to my desktop machine as "spatula.flat" which clearly 
isn't a valid domain name :)

Here's how I set my local DNS up. Whenever I have to set it up again 
somewhere else I always struggle to get it right, so hopefully this'll 
help you out and mean that I can look it up in the archives next time I 
forget. :D

I add the following to /etc/namedb/named.conf

-- start --
zone "flat" {
type master;
file "flat.fwd";
};
zone "0.168.192.IN-ADDR.ARPA" {
type master;
file "0.168.192.rev";
};
-- end --
Create /etc/namedb/flat.fwd with :

-- start --
; Zonefile for .flat
$TTL86400   ;default ttl 1day
@   IN  SOA myriad.flat root.myriad.flat. (
2003102501  ;serial number  YYMMDDNN
28800   ;refresh8 hours
7200;retry  2 hours
864000  ;expire 10 days
86400 ) ;min ttl1 day
		NS 	myriad.flat.

$ORIGIN flat.

ewenIN  A   192.168.0.1
spatula IN  A   192.168.0.2
simmy   IN  A   192.168.0.2
guest0  IN  A   192.168.0.100
guest1  IN  A   192.168.0.101
guest2  IN  A   192.168.0.102
myriad 	IN	A	192.168.0.254

smtpIN  PTR myriad.flat.
mailIN  PTR myriad.flat.
pop3IN  PTR myriad.flat.
imap4   IN  PTR myriad.flat.
-- end --
And create /etc/namedb/0.168.192.rev containing:

-- start --
$TTL 86400
@IN SOA myriad.home. root.myriad.home (
200401080
86400
7200
864
86400 )
	IN NS myriad.home.

1 IN PTR ewen.flat.
2 IN PTR spatula.flat.
3 IN PTR simmy.flat.
4 IN PTR spatula.home.
100 IN PTR guest0.flat.
101 IN PTR guest1.flat.
102 IN PTR guest3.flat.
254 IN PTR myriad.flat.
-- end --
Hopefully they're not to difficult to understand. The syntax of the 
files is pretty specific though.

Oh and you need named_enable="YES" in /etc/rc.conf

Mail back if you have any problems!

Andrew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Domain name for local network?

2004-01-22 Thread Jonathan Chen
On Thu, Jan 22, 2004 at 07:32:36PM +, Jonathon McKitrick wrote:
> 
> If I have a couple of boxes in a home network that connects to the Internet
> via ppp, is there any way I can name my network?  I don't want to register
> a name, just use it locally.  This way I can refer to 'neptune.jonathon.org'
> or something similar rather than '10.0.0.1'.

You can name it anything you like. If it were me, I'd set up an
internal DNS which is authoritative for the local domain name you've
chosen. That way it'll pick up the local machines for the domain-name
but still work for non-local domains.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"