Networking Forums

Networking Forums > Computer Networking > Linux Networking > Sharing Internet Connection DNS?

Reply
Thread Tools Display Modes

Sharing Internet Connection DNS?

 
 
Kevin Cosgrove
Guest
Posts: n/a

 
      04-23-2004, 03:53 PM
My home network looks like this:

internet <--> host1 <--> host2

host1 can resolve host names out on the internet just fine.
host2 can do anything it wants to on the internet, but unless the
host name is in /etc/hosts, it can't resolve it. Everything
works with host2 if I use IP addresses. I'm a complete newbie to
DNS stuff, but is that where my trouble lies? How can I get host
name resolving to work on host2?


Thanks....


--
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
 
Reply With Quote
 
 
 
 
Matt
Guest
Posts: n/a

 
      04-23-2004, 04:34 PM
Kevin Cosgrove wrote:

> My home network looks like this:
>
> internet <--> host1 <--> host2
>
> host1 can resolve host names out on the internet just fine.
> host2 can do anything it wants to on the internet, but unless the
> host name is in /etc/hosts, it can't resolve it. Everything
> works with host2 if I use IP addresses. I'm a complete newbie to
> DNS stuff, but is that where my trouble lies? How can I get host
> name resolving to work on host2?
>
>
> Thanks....
>
>


Does your /etc/resolv.conf file on host2 have the same DNS servers as
the /etc/resolv.conf on host1?
 
Reply With Quote
 
Scott McMillan
Guest
Posts: n/a

 
      04-23-2004, 06:23 PM
On Fri, 23 Apr 2004 15:53:17 GMT, (E-Mail Removed) (Kevin
Cosgrove) wrote:

>My home network looks like this:
>
> internet <--> host1 <--> host2
>
>host1 can resolve host names out on the internet just fine.
>host2 can do anything it wants to on the internet, but unless the
>host name is in /etc/hosts, it can't resolve it. Everything
>works with host2 if I use IP addresses. I'm a complete newbie to
>DNS stuff, but is that where my trouble lies? How can I get host
>name resolving to work on host2?
>
>
>Thanks....


What is the contents of /etc/resolv.conf on each system?


Scott McMillan
 
Reply With Quote
 
/dev/rob0
Guest
Posts: n/a

 
      04-24-2004, 04:27 AM
On Fri, 23 Apr 2004 14:23:55 -0400, Scott McMillan wrote:
> On Fri, 23 Apr 2004 15:53:17 GMT, (E-Mail Removed) (Kevin
> Cosgrove) wrote:
>>works with host2 if I use IP addresses. I'm a complete newbie to
>>DNS stuff, but is that where my trouble lies? How can I get host
>>name resolving to work on host2?


One way is as Scott hints, use the same nameservers on each ...

> What is the contents of /etc/resolv.conf on each system?


Another way, pretty easy to manage, is this:
http://www.thekelleys.org.uk/dnsmasq/doc.html
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply

 
Reply With Quote
 
Scott McMillan
Guest
Posts: n/a

 
      04-24-2004, 02:00 PM
On Fri, 23 Apr 2004 15:53:17 +0000, Kevin Cosgrove wrote:

> My home network looks like this:
>
> internet <--> host1 <--> host2
>
> host1 can resolve host names out on the internet just fine.
> host2 can do anything it wants to on the internet, but unless the
> host name is in /etc/hosts, it can't resolve it. Everything
> works with host2 if I use IP addresses. I'm a complete newbie to
> DNS stuff, but is that where my trouble lies? How can I get host
> name resolving to work on host2?
>
>
> Thanks....


(It appears my first response did not go through...)
What are the contents of /etc/resolv.conf on each of the hosts?


Scott McMillan
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      04-24-2004, 08:35 PM
On Fri, 23 Apr 2004 15:53:17 GMT, Kevin Cosgrove
<(E-Mail Removed)> wrote:
> My home network looks like this:
>
> internet <--> host1 <--> host2
>
> host1 can resolve host names out on the internet just fine.
> host2 can do anything it wants to on the internet, but unless the
> host name is in /etc/hosts, it can't resolve it. Everything
> works with host2 if I use IP addresses. I'm a complete newbie to
> DNS stuff, but is that where my trouble lies? How can I get host
> name resolving to work on host2?
>
>
> Thanks....
>

Copy the /etc/resolv.conf from host1 to host2, and make sure that host2
can ping the nameservers.


--
Giraffe: a ruminant with a view.
 
Reply With Quote
 
Kevin Cosgrove
Guest
Posts: n/a

 
      04-26-2004, 03:17 PM
Matt <(E-Mail Removed)> wrote:
> > My home network looks like this:
> >
> > internet <--> host1 <--> host2
> >
> > host1 can resolve host names out on the internet just fine.
> > host2 can do anything it wants to on the internet, but unless the
> > host name is in /etc/hosts, it can't resolve it. Everything
> > works with host2 if I use IP addresses. I'm a complete newbie to
> > DNS stuff, but is that where my trouble lies? How can I get host
> > name resolving to work on host2?

>
> Does your /etc/resolv.conf file on host2 have the same DNS servers as
> the /etc/resolv.conf on host1?


Yes.

--
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
 
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
Internet Gateway device created in Network Connections when I removed Internet Connection Sharing Martin Underwood Home Networking 2 04-07-2005 12:56 PM
Internet Connection Sharing mccinc Windows Networking 1 03-11-2005 08:44 AM
Internet connection sharing polar_bear Windows Networking 4 06-16-2004 12:53 AM
Internet Connection Sharing phillip ardussi Wireless Internet 0 08-17-2003 11:43 AM
Re: how to enable Internet Connection Sharing (ICS) to share the dial-up connection Steve Winograd [MVP] Windows Networking 0 08-08-2003 07:27 AM



1 2 3 4 5 6 7 8 9 10 11