I have the following setup:
box one:
- RHEL 7.3
- NetworkManager pointing dns to /etc/resolv.conf
- /etc/resolv.conf pointing at the external IP of itself
- dnsmasq (configured by someone else) listening on that IP for dns requests
- dnsmasq having a /etc/dnsmasq.d/something file that points to two external, corp dns servers
box two: being an exact copy of box one, besides pointing to its own IP instead of box one's.
Now I want to host my own TLD "master" on box one in a way that a program on box two is able to create a veth network and assign hostname "vhost1.master", "vhost2.master", "vhost3.master", in such a way that preferably even a box three could be setup with box one as nameserver and be able to reach a webserver at "vhost1.master".
It seems from what I've read that I should just be able to achieve that by adding to box.one:/etc/resolv.conf an entry " master" and everything should work. But it doesn't. What am I missing?
Sorry really new to all this dns self configuration. Some keywords for googling would probably already be enough help for now.
No comments:
Post a Comment