Re: Problem with different TTL

"Tim Tessier" <[email protected]> Sat, 2 Jan 2010 14:26:45 -0500
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <84CAC2D79592440894BBE9BAE7FBEBFD@lappy>
I actually had a similar problem while I was building a driver for sqlite.
Please verify that your ttl is actually correct and being read as a ttl 
value.
I had an issue where the value being read into the ttl value was a fieldname
instead of an actual ttl. It could be that somehow your values are being 
fudged
in such a way that the proper values are not coming through to bind. For 
instance,
if for some reason you have spaces or extra values in places.

If you have the config file and a sample db to try I can attempt to help. 
Also, if you have the
sources, you can try writing some extra data to the logs for your result 
sets to see if
something is going wrong there.

Thanks,
Tim
--------------------------------------------------
From: "Aurelien Requiem" <[email protected]>
Sent: Saturday, January 02, 2010 5:49 AM
To: <[email protected]>
Subject: [Bind-dlz-testers] Problem with different TTL

> Hello,
>
> I'm having a bit of trouble at the moment with records with different TTL.
> for www.test.menfin.net, I return 2 records. If both TTL are the same,
> everything is fine. If they are different, I have 2 behaviors
> With a regular text file, the 1st record TTL is returned for both
> records. If the query is answered by dlz, then nothing is returned.
> In the logs : dns_sdlz_putrr returned error. Error code was: bad ttl
>
> I know this question has been discussed in the past, but I still don't
> understand why such a difference between bind and dlz.
> http://article.gmane.org/gmane.network.dns.bind9.dlz/439/
>
> If such behavior isn't a wanted/good thing, could it be possible to make
> dlz behave like bind ?
> Or maybe does anyone know if this has been fixed/changed in more recent
> versions ?
>
> Regards.
>
> Environment :
>     gentoo / bind 9.4.3-p4 (ipv6, dlz, mysql, ssl)
>
> Aurelien
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and 
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Bind-dlz-testers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bind-dlz-test 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev