Joseph,
> Ok, I need some information, but you'll need some background information...
> I have a linux box at home hooked up to the internet with DHCP through US
> West VDSL. The IP has never actually changed, but it could at any time
> because of the DHCP. I have a Windows 98 box connected via a second NIC
> card to the Linux machine, which uses the Linux box as a
> gateway/router/firewall to the internet. So because of the DHCP connection,
> I don't have DNS running and I don't use Sendmail.
>
> On the Linux box, I have Apache 1.3.12 installed and am in the process of
> learning PHP. However, one of the things I want to do is convert my
> ColdFusion discussion forum over to PHP, but was hoping I could send myself
> email notifications during the testing period (so when I do copy this app to
> a real server it would work as expected...)...
>
> Is there someway to use sendmail and the mailing options of PHP without
> using DNS and having a static IP? Or better yet is there a way to use
> sendmail and DNS without having a static IP?
>
> Thanx!
> Joseph (Joe) Sheble
> a.k.a. Wizaerd
Since the DHCP generated number only changes a few times a year (YMMV),
you could simply notice when this happens and change your setup to
reflect the new IP. A friend has setup two DNS machines at his home
by purchasing an extra dynamic IP from the cable service.
Comp B --------| |-| |-|
----|h|-------- Comp A -------|h|----- cable modem
|u| |u|
Comp C ------------|b| Comp D -------|b|
|-| |-|
(private side)
He has a DNS server on Comp A and Comp D. When he notices that the
ISP DHCP returns different IP numbers (usually on different subnets),
then he manually changes his DNS setup.
At least that's how I understand this is supposed to work. :)
Thanks... Dan.