RE: DNS and natd

From: Derrick Ryalls (ryallsd_at_datasphereweb.com)
Date: 06/03/03

  • Next message: parv: "Re: Listing installed ports without any ports dependent on it"
    To: "'Alfonso Romero'" <ibac@prodigy.net.mx>, "'freebsd-questions'" <freebsd-questions@freebsd.org>, "'Chuck Swiger'" <cswiger@mac.com>
    Date: Mon, 2 Jun 2003 17:07:10 -0700
    
    

    > > Alfonso Romero wrote:
    > > > Iīm using natd on a FreeBSD 4.8 box as a gateway, so my
    > internal LAN
    > > > can access Internet. Iīve configured a web server, but
    > the local LAN
    > machines
    > > > canīt access the server by itīs domain name. If I setup my FreeBSD
    > gateway to
    > > > also act as a DNS server, are my local LAN machines going
    > to be able
    > > > to access my web server with www.ibacsoft.dynu.com, instead of
    > > > 192.168.0.2?
    > >
    > > 10-bjork# nslookup www.ibacsoft.dynu.com
    > > Name: www.ibacsoft.dynu.com
    > > Address: 200.67.41.134
    > >

    I believe you would need to set up a DNS server and configure it to give
    different results depending on the requesting ip.
    For bind, I think the search term is "views". There was a good
    description of why this is so a while back, but I have
    long since deleted it. I don't think it will be too hard to set up, but
    I haven't tried myself yet. Hope this helps.

    -Derrick

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: parv: "Re: Listing installed ports without any ports dependent on it"

    Relevant Pages

    • Re: A few more newbie questions
      ... IP address) for network interfaces on this host. ... >>Assigning them those addresses has to be done on those other machines ... IP address, netmask, etc. You'd put also put in the gateway address. ... The DNS server addresses go in /etc/resolv.conf. ...
      (comp.os.linux.misc)
    • RE: DNS and natd
      ... >> internal LAN ... >> gateway to ... it is an internal DNS setup and I believe "views" requires BIND9. ...
      (freebsd-questions)
    • Re: Problem with DNS through a gateway
      ... You may not need a DNS server at all, should you use IP masquerading ... where your LAN's machines are configured to use ISP's DNS server. ... gateway on FC5 that DNS fails. ...
      (comp.os.linux.networking)
    • Connection reset
      ... scp tranfer a iso file into the internal LAN of the second ... But if the scp file transfer started from winscp of ... the first gateway into the internal LAN of the second gateway, ... gateway from this windows using winscp. ...
      (comp.security.ssh)
    • Re: nec. ports to access shared folder ?
      ... since each site in an nlb cluster shares the same ip address they are unsure ... difficult to synchronize the two machines. ... >> the internal lan with the internet being on the external/untrusted side. ... > File Transfers with HTTP ...
      (microsoft.public.windows.server.networking)