DNS on LAN
From: David Pratt (fairwinds_at_eastlink.ca)
Date: 03/11/04
- Previous message: Dan Nelson: "Re: amavisd - virusalert@example.com in maillog"
- In reply to: Andrei N. Gritsai: "I am writing DVB card FreeBSD 5.x driver and I need prof. advice"
- Next in thread: Kevin D. Kinsey, DaleCo, S.P.: "Re: DNS on LAN"
- Reply: Kevin D. Kinsey, DaleCo, S.P.: "Re: DNS on LAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Mar 2004 12:06:30 -0400 To: freebsd-questions@FreeBSD.ORG
Hi. I have just set up a small LAN. I am using an old pentium computer
as a firewall using IPCop (192.168.1.1) as a gateway to the web. It
uses a dynamic IP from my ISP so all the machines have web access. I
have 3 other machines behind the firewall. I have set up a FreeBSD 4.9
server (192.168.1.2) that I want to use to develop and test my PHP and
Python applications. The other machines (a Mac and Windows machine)
obtain their IP between 192.168.200 - 192.168.250. I have a domain
name registered that is currently pointing to a host that I am using
for my live site.
So question is how to use my domain name behind my firewall in my LAN
with my server for development. I don't know how to do this. I want to
be able to get my server on my browser something like this:
server01.mydomain.com. ( mydomain substituted for my actual domain)
I have read the DNS chapter in the FreeBSD book but I am just as
confused as ever in what I need to do to achieve this. I have named my
server the following: server01 and in my original configuration when
I installed FreeBSD provided a fully qualified name of
server01.mydomain.com (mydomain substituted for my actual domain).
my hostname file currently looks like this:
::1 localhost
127.0.0.1 localhost
192.168.1.2 server01 server01.mydomain.com
when I type hostname at command line I get server01.mydomain.com
I have this line in my rc.conf file from the original installation:
hostname="server01.mydomain.com"
Any help greatly appreciated.
Regards,
Dave
_______________________________________________
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"
- Previous message: Dan Nelson: "Re: amavisd - virusalert@example.com in maillog"
- In reply to: Andrei N. Gritsai: "I am writing DVB card FreeBSD 5.x driver and I need prof. advice"
- Next in thread: Kevin D. Kinsey, DaleCo, S.P.: "Re: DNS on LAN"
- Reply: Kevin D. Kinsey, DaleCo, S.P.: "Re: DNS on LAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|