Hi Steve,

        it is not actually a pure caching server (at least I didn't wanted it 
to be :S). I have server at home, and the DNS is properly configured at the 
internet. The problem is that my router is not capable to redirect my requests 
to my server when they come from the LAN. So, I have had to configure a 
dhcp+dns server to give the IPs to the machines in the LAN, and to use the dns 
server to resolve the local server using db.server.local and db.192 files.

        I understand that "forward only;" will not hurt but, right? After 
setting it, I do the dig and I get:

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> www.server.org txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52796
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.server.org.                 IN      TXT

;; AUTHORITY SECTION:
server.org.              604800  IN      SOA     server.org. root.server.org. 
10420141 604800 86400 2419200 604800

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Apr 14 19:53:01 2014
;; MSG SIZE  rcvd: 72

        Felix

On Monday 14 April 2014 17:36:36 Steven Carr wrote:
> On 14 April 2014 17:02, Felix Rubio Dalmau <felixrubiodal...@gmail.com> wrote:
> > Maybe this is my problem: I have not created any zone file :s. The only 
> > files I've created/modified are:
> > I thought that when requesting fields that are not available in the local 
> > dns server, such requests would be forwarded to the forwarders and its 
> > answers cached :S. What should I do?
> 
> OK, so you're implementing a caching server, you didn't state that in
> your original email.
> 
> So check your /etc/resolv.conf file and see where it is pointing to
> for DNS, this is what the `host` command will use when querying for
> DNS, it should be your new server that you have setup. You probably
> also want to add the statement "forward only;" into your options
> section as well, otherwise your caching server might still try to
> query the Internet root if it didn't get a response from the servers
> you are forwarding to.
> 
> Then use the `dig` command to look for the txt record e.g. dig host
> txt - post back the full command and the response.
> 
> Steve

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to