Hi all,
I have a Dapper server installed on a 10-yo G3 (Old World) Mac (powerpc). The installation was a hoot, but it's now up and running, and I'm contemplating configuration.
Basically, I want to host a personal/family website with the machine (through Django w/ Apache, mod_python, & Lighttpd, but no matter), largely for personal education reasons. I've been through the standard setup tutorials: http://www.howtoforge.com/perfect_setup_ubuntu_6.06 and https://help.ubuntu.com/6.06/ubuntu/serverguide/C/networking.html, but I haven't been able to extract the broader picture from the details.
My primary clarification regards nameservers. I don't _even_ want to fool with my ISP, so I intend to provide my own two nameservers: 1) with DynDNS (via communication with my router) and 2) through a DNS server running on the Mac (presumably, Bind9). My router provides static local IP addresses, so this is not a requirement.
I've got all the port-forwarding set up (80, 443, 53 udp and tcp, ssh, etc.) but I'm a bit foggy on the details. I feel like I keep chasing my tail with regard to /etc/hosts, /etc/hostname, /etc/networking/interfaces, and /etc/resolv.conf.
So, on to the Q's:
1) Are the 'nameserver' and 'search' domains specified in resolv.conf inbound or outbound? My understanding is these are for the machine to resolve external IP's, not the other way around.
2) Is the name of my Bind-provided nameserver the same as the host machine? Iow, can my hostname be 'thoreau.example.com' while my nameserver is 'ns1.example.com'?
3) In which configuration file would the URL provided by DynDNS live?
Many thanks in advance for any/all pointers, suggestions, slaps on the back of the head, etc.