Thanks...I have postfix running, I have tinydns built and installed,
and I downloaded dhcp-dns from freshmeat.  I've edited resolve.conf to
place 127.0.0.1 at the top and I've followed the instructions that came
from the djbdns site (tinydns) but I see no indication at all that
tinydns is actually doing anything.
The instructions:

1.  Use tinydns-conf to configure tinydns on 1.2.3.4:
    "tinydns-conf tinydns dnslog /etc/tinydns 1.2.3.4" (of course,
substituting my real ip)

2.   Tell svscan about the service:
     "ln -s /etc/tinydns /service"

3.  Now tell tinydns to answer questions about <my domain name> and
3.2.1.in-addr.arpa domains and to advertise 1.2.3.5 as the DNS server
(I tried 127.0.0.1 and then my ip address here without result):
     "cd /service/root"
     "./add-ns <my domain> 1.2.3.5"
     "./add-ns 3.2.1.in-addr.arpa 1.2.3.5"
     "make"

4.  I then told it about my mailserver:
     "cd /service/root"
     "./add-mx <my domain> 1.2.3.4"
     "make"

Now when I svscan runs, it produces a lot of errors on one directory in
/service:

supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start env/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist
supervise: fatal: unable to start root/run: file does not exist...

and queries do not go through my tinydns at all.  I see no error
messages in my logs anywhere.

Any pointers or corrections?  To publish my dns so my mailserver will
really work, do I use 127.0.0.1 or my actual IP address, or do I
produce an alias/virtual IP (or something)?

On Tuesday 29 January 2002 07:02 pm, J. Craig Woods wrote:
> Praedor Tempus wrote:
> > I installed postfix last night and have since switched my smtp
> > server to local via postfix.

[...]

> I think you are on the right path with postfix. There are a few short
> cuts out there for mail servers with dhcp assigned ip addresses, i.e.
> dydns.com but setting up the real thing is the way to go. I have a
> similar situation, and here is my solution (of course, there are many
> methods for doing what you want). Run your own name server, and make
> a MX resource record for your mail server. Change localhost to your
> FQDN, and enter that in the postfix config file (main.cf). After you
> get your dhcp pump, giving ip, nameservers, and mask info, you will
> need to edit "/etc/resolv.conf" and add your dns server as a primary
> nameserver (127.0.0.1 is the best entry). Also add "search
> your.domain.com" as the first domain to search. You can keep the

[...]

-------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to