![](https://seccdn.libravatar.org/avatar/1bc6b7160318dfff5e2a01693a5eee49.jpg?s=120&d=mm&r=g)
Quoting Carlos E. R.
The 03.06.28 at 20:42, Clifford wrote:
I have a tiny network (3 machines) and therefore have chosen not to use a DNS as i really don't need it.
Having a local dns saves external network traffic and speeds up some things.
I thought everything was going well as i had defined all machines in /etc/hosts and i could ping them using hostname.mydomain . I started fiddling around with my postfix config and found a problem delivering local mail. I soon found out that "hosts kananga.mydomain" fails.
Mail delivery requires a working DNS; the query:
host -t MX kananga.mydomain
must work.
I spent weeks trying to get Postfix to work without DNS and an afternoon setting it up. From the Postfix docs, it looks like it should work with just /etc/hosts, but I never figured out how. Jeffrey