0
I followed this tutorial to install a dns server on my local network: http://goo.gl/vkVC0A
My idea is to access intranet.empresa on the network pcs and fall on ip 10.0.0.220 which is a web server.
I did all the procedures in the tutorial, but when I test the server through my machine that has ip 10.0.0.108 with the bind command, I get the following error message:
$ dig intranet.equilibra
; <<>> DiG 9.9.5-3-Ubuntu <<>> intranet.equilibra
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 50519
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;intranet.equilibra. IN A
;; AUTHORITY SECTION:
. 1799 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2014072400 1800 900 604800 86400
;; Query time: 268 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Jul 24 09:27:23 BRT 2014
;; MSG SIZE rcvd: 122
I freaked out about something?
But both my machine which I am consulting, as the server dns, need to go out to the internet. :/
– Rafael Soufraz
I took the dns from google and I was able to access through intranet.equilibra. But I can’t get out to internet.
– Rafael Soufraz
I changed the nameserver of the dns server to 127.0.0.1. It works. But it takes a long time! There is no way in the machines I go out for a google dns and other dns be internal no?
– Rafael Soufraz
I got!
search intranet.equilibra<br>
nameserver 10.0.0.220<br>
nameserver 8.8.8.8<br>
nameserver 8.8.4.4
– Rafael Soufraz
@Rafaelsoufraz recommend using the dnsmasq for this purpose, you will be able to perform the configuration in a simplified way. On the DNS server you can configure the Forwarders so that it forwards the requests you don’t know directly to the internet. Otherwise, you can configure it not to forward any request, just respond to requests from domains registered on it.
– denisvm