...
local-zone: "example.com" transparent
local-data: "example.com NS example.com"
local-data: "example.com MX 5 smtp.example.com"
local-data: "example.com IN A 192.168.0.1"
...
Why Bind. You can use dns/nsd which is written by the same crew who wrote unbound? Bind suffers from bi-polar disease. It is confused if it is authoritative or cashing serverSo I must have for example Bind. And second question could be this "Bind" with mail server on one machine?
Master and slave has nothing to do with authoritative vs cashing only resolver DNS. I run cashing only resolver both at home and at work (Unbound). At work I have multiple instances of Unbound for redundancy but they are returning queries on the first come first serve basis. NSD is a different beast. It is authoritative DNS. As such if it is going down your domain will become inaccessible. Therefore you need redundancy. The basic authoritative DNS redundancy is achieved by bringing the second NSD server on-line which is called slave (the first one is master). When the master slave goes down slave takes over in the fashion not noticeable to people who are trying to reach your domain.I heard about master ,slave ... i even now it could be one the same machine mail and dns server
I use Postfix for such things on the Red Hat Linux machines, OpenSMTPD on OpenBSD and mail/dma on FreeBSD hosts. Out of three I like the best mail/dma in terms of simplicity for that particular setup. As long as relaying host allows mail forwarding with an account and TLS password (as Gmail) he will not need FQDN nor Authoritative DNS. He will still need DNS resolver but that he already has from his ISP as otherwise he will not be able to post things on this forum.Do you mean you set postfix to use google as your relay host? If so, yes, that's similar to smart host.
I disabled sendmail on all my FreeBSD hosts and replaced it with dma. There was some talk of dma being default MTA on FreeBSD 11.0. I have just checked my test installation of FreeBSD 11.0 and sure enough sendmail is still default even thought dma is installed. I didAh, I didn't know about dma. Here's a quick link if anyone else is curious, untested by me though.
https://www.dragonflybsd.org/docs/howtos/HowTo_dma_gmail/
pkg install dma
and got the newer version. This is very depressing. I can just hope that system version is not messed up like system version of unbound (I just learned about it now).