Here's a snippet from the data file I use on my webserver: #gutenpress.org Zgutenpress.org:ns1.gutenpress.org:sean.gutenpress.org &gutenpress.org:12.44.218.240:ns1.gutenpress.org @gutenpress.org::ns1.gutenpress.org:0 .243.218.44.12.in-addr-arpa::ns1.gutenpress.org +gutenpress.org:12.44.218.240 +www.gutenpress.org:12.44.218.240 +mail.gutenpress.org:12.44.218.240 ...
I'm pretty sure I got the syntax from the djbdns site somewhere, but it's been a while since I initially set this up. It may not be the most optimal setup, but it's worked for me for a long time now. Hope this helps ... Sean On Sat, 2004-01-03 at 19:03, Steve B. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have tried both.. neither seem to work. Below is my config > > #define the authoritative nameserver > .mydomain.net::ns1.mydomain.net > > #mail exchanger > @mydomain.net::mail.mydomain.net > > #Machine IP's > =hostname.mydomain.net:my.static.ip > > #Machine aliases > +ns1.mydomain.net:my.static.ip > +mail.mydomain.net:my.static.ip > +www.mydomain.net:my.static.ip > > I can ping my static ip no prob, but can't ping domain (eg mydomain.net or > ns1.mydomain.net) > > > Here is the output from nslookup > > nslookup > > mydomain.net > Server: 210.117.65.1 > Address: 210.117.65.1#53 > > ** server can't find mydomain.net: NXDOMAIN > > > > On Saturday 03 January 2004 16:44, Peter Wu wrote: > > On Sat, Jan 03, 2004 at 10:32:21PM +0000, Steve B. wrote: > > > Ok... first problem. Let me walk you through what I have completed so > > > far > > > > > > 1. I emerged djbdns > > > 2. I ran the dnscache and tinydns-setup config scripts > > > 3. I ran 'rc-update add svscan default > > > 4. rebooted > > > > > > after dealing with some permission errors (I forgot to change the group > > > and owner of the log dirs) all seems to go well. (however a ps -A shows > > > "supervise" running in six different proc) > > > > > > 5. Changed /etc/init.d/net.lo ip and gw to 192.168.0.0 > > > 6. Changed /etc/hosts to include a second entry for 192.168.0.0 that > > > reads machinename.my-FQDN > > > > > > (however when I boot the machine it still says machinename.localhost) > > > > > > > > > 7. following the instructions at http://www.lifewithdjbdns.com I get the > > > part about editing the data for tinydns and the example it gives is > > > > > > #define the authoritative nameserver > > > .example.com::ns1.example.com > > > #mail exchanger > > > @example.com::mail.example.com > > > #IP for machine1,2,3,4,5 > > > =machine1.example.com:1.2.3.1 > > > =machine2.example.com:1.2.3.2 > > > =machine3.example.com:1.2.3.3 > > > =machine4.example.com:1.2.3.4 > > > =machine5.example.com:1.2.3.5 > > > #machine5 is also known as ns1 > > > +ns1.example.com:1.2.3.5 > > > #machine1 is our mailserver > > > +mail.example.com:1.2.3.1 > > > #and our webserver > > > +www.example.com:1.2.3.1 > > > > > > My question is... is the IP addy my private network IP (192.168.0.0 ) or > > > my static IP addy? > > > > Use the static IP available to the Internet if you want your domain to be > > reachable by the public. > > - -- > > Perhaps human's greatest vanity is the belief > that there is only one way to the divine. > (Scott Cunningham) > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQE/91hSCY3CQTSteGwRAv+JAJ43kzM7TFdYWxF2uz8ieImzHIk+vACgiGmL > J9lfL9pT5pmo+Hzo/BeL0JU= > =t8gk > -----END PGP SIGNATURE----- > > > -- > [EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list