Kevin Chen <kchen <at> MIT.EDU> writes:

> 
> On Fri, 23 Jul 2010, Ray wrote:
> 
> > I have implemented, thanks to the dnspython list, a simple DNS server.
> > Here is the code: It simply responds with a TXT record. I am hosting the
> > script as the NS server for example.com. The NS server is x.y.z.k. It
> > works fine when I issue something like:
> >
> > dig demo.example.com @x.y.z.k
> 
> Your DNS server is being asked for an A record, but it is responding with 
> a TXT record, which the recursive nameserver is likely rejecting.  In the 
> case with the CNAME, that's a legitimate response for a query for an A 
> record.
> 
> --
> Kevin Chen
> 

Thanks Kevin for the response. I did check that too. I get the exact same 
response when I issue 

dig demo.example.com @4.2.2.1 TXT

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> demo.example.com txt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24266
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;demo.example.com. IN TXT

;; Query time: 273 msec
;; SERVER: 172.16.1.1#53(172.16.1.1)
;; WHEN: Tue Jul 20 03:40:17 2010
;; MSG SIZE  rcvd: 65





_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to