On 08/23/2017 05:37 PM, Carlos E. R. wrote:
The router only have a cache DNS that solves internet addresses. There is no connection between the router DHCP and the router DNS, so that it is impossible to ask it for the IP of a local machine.
Can you not configure the DHCP server to point to your own DNS?
Maybe such a router that hosts a *proper* DNS and DHCP server exists, but none of mine have it.
Furthermore, postfix has been told what is the name of the machine it runs in, and it has to be able to learn the IP of that name (local network) - and this doesn't happen from the router DNS server. It has to be handled, somehow, in the machine that it is running in, a laptop, on a different home network than on initial config.
Think about that ;-)
The only manner I know is writing the name and address line in /etc/hosts.
It's been years since I've worried about that.
The machine also runs dnsmasq, but the IP/names pairs are configured mainly in the /etc/hosts file as well. So that file has to be edited correctly.
I used to run dnsmasq and put the host names in it's hosts file, but not on the other computers. As I mentioned earlier, I'm currently running pfSense for my firewall/router and it has a choice of DNS forwarder, DNS resolver or pointing to another DNS server. So, any device connecting to my network using DHCP is told to use my firewall for DNS via it's IPv4 address. My main desktop is configured to use the firewall's IPv6 address, along with a couple of external DNS servers, just in case. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org