Problem to configure the bind9 in Linux (virtualBox)

0

I have 3 virtual machines, one for windows, 2 for ubuntu (one for DNS and the other for Server for the web page). (They are in local without internet access )

With windows I have to access a Web page of the Web server through the Dns.

The machines are pinned, if I enter the IP it shows me the page , but the problem is if I put in the browser w ww.eduardo.com

In the DNS I have: in named.conf.local

*** - On db.eduardo.com (I think the problem is here)

** And on the Web server

And from here you do not need anything else, as I said if I directly put the ip of the Web server (169.254.31.252) the page is displayed.

Finally the client his DNS server points to the 253 and it is pinged and the DNS (253) Ping the SerWeb (252) And the DNS (253) ping the SW (252)

    
asked by EduBw 03.03.2018 в 20:15
source

1 answer

0

I think the problem is that in the db file you have to put in the penultimate line:
www.eduardo.com. IN A 127.0.0.1
127.0.0.1 is an address that refers to the team itself, something like localhost

Also in the named.conf (I do not know if it could also be in the named.conf.local) you have to press or modify something like this:

* The routes and the ip you must put the ones of your machine

    
answered by 03.03.2018 в 23:12