Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie q - What is a domain

Reply
Thread Tools Display Modes

newbie q - What is a domain

 
 
Finbar
Guest
Posts: n/a

 
      09-26-2003, 08:23 AM
Hello,

I know what a domain is in the Windows & Internet world, but how is it
relevant to a private network in Linux.

If I have a local domain say called HOME, what services depend on this.
How is it relevant to day-to-day usage in Linux.

Also, my main box is a gateway. How can I setup DNS for the local
network only.

Lastly, I´ve tried setting up MASQUERADING using the following;

entering;
echo ¨1¨ > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A INPUT -i eth0 -m state --state NEW,INVALID
iptables -A FORWARD -i eth0 -m state --state NEW,INVALID

in /etc/rc.d/rc.local

but it don't work.

any help much appreciated,
Finbar.

 
Reply With Quote
 
 
 
 
Tim Sampson
Guest
Posts: n/a

 
      09-26-2003, 09:18 AM
"Finbar" <(E-Mail Removed)> wrote in message
news:bl0t11$2b35$(E-Mail Removed)...

> Lastly, I´ve tried setting up MASQUERADING using the following;
>
> entering;
> echo ¨1¨ > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> iptables -A INPUT -i eth0 -m state --state NEW,INVALID
> iptables -A FORWARD -i eth0 -m state --state NEW,INVALID
>
> in /etc/rc.d/rc.local
>
> but it don't work.


You don't have any '-j' action on line 2 and 3. Use the examples in this
howto:

http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html

Cheers
Tim


 
Reply With Quote
 
Eric Gibson
Guest
Posts: n/a

 
      09-26-2003, 03:42 PM

"Finbar" <(E-Mail Removed)> wrote in message
news:bl0t11$2b35$(E-Mail Removed)...
> Hello,
>
> I know what a domain is in the Windows & Internet world, but how is it
> relevant to a private network in Linux.
>
> If I have a local domain say called HOME, what services depend on this.
> How is it relevant to day-to-day usage in Linux.


You can set up a standard DNS server on your network, and put hostnames
record for the private IP's on your network if you wish. Or you can use
Samba, and set up a WINS windows style name server with linux as well.

They are no different than the windows and internet standards. In fact, the
name server that comes default with most linux distributions is BIND. Which
is the DNS server that drives DNS on the internet...

Eric




 
Reply With Quote
 
Ian Northeast
Guest
Posts: n/a

 
      09-26-2003, 07:35 PM
Eric Gibson wrote:

> In fact, the
> name server that comes default with most linux distributions is BIND. Which
> is the DNS server that drives DNS on the internet...


Most of it perhaps but not all. People running content servers can use
whatever software they like. Not all of the root servers run bind
either, so that if someone discovers a vulnerability which can take out
a particular nameserver, they can't take out all the root servers with
it.

Regards, Ian
 
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
hostname domain different from Active Diretory domain - kerberos problems Blake Windows Networking 4 07-27-2008 10:21 PM
AD Domain Network Share, Forced Domain User Account PW Changes oldnt40mcp Windows Networking 0 10-29-2007 04:10 PM
Newbie Question on how one domain can talk to a workgroup ianwr Windows Networking 2 08-23-2007 11:32 PM
Parked Domains, Aliases, Domain Redirection and Domain Forwarding Ajayk Linux Networking 0 05-27-2006 04:42 PM
VPN: unable to connect to the shares in a Win2003 Domain Server of a child domain Stefano Del Furia Windows Networking 5 11-02-2005 06:23 PM



1 2 3 4 5 6 7 8 9 10 11