Maintained by: NLnet Labs

how to set lower TTL for redirect data? default ttl is 3600

W.C.A. Wijngaards
Mon Dec 7 09:20:59 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Pujo,

On 06/12/15 04:35, pujo mulyono via Unbound-users wrote:
> Hi,
> 
> Ask,  how to set TTL for redirect local-data lower than 3600
> (default)? i read the Documentation but i could not find it if i
> want to set ttl = 900, something similar to
> 
> local-zone: "my.domain" redirect local-data: "my.domain 900 A
> 127.0.0.1"

What you wrote works!  You can put the TTL on local-data lines just
like you would in a zone file.  Additionally, if you want to change
the TTL of nxdomain answers, add a local-data SOA record (at the top
of the zone).

Best regards, Wouter

> 
> thank you
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWZUFrAAoJEJ9vHC1+BF+NzP4QAJlNFDgHFUTeWu5TGb+LeYcz
ePdXt/X+Cixleh/TFlAoPvWY3n7KGseTjXVSOt2jwtpc8wbrQBqHuXpG8IsGHr7u
xa+GTT19rndWs6qj+Qthh3lNqDFRJr3JXQXT3yZ5rAAh7nf+Z5cS60b8x/Vj6PE+
vKL4FZo9U+9ppl+TL8QxRq7QT/pvbOHaEbDC+ZrMzPbmgzW2jA7Rew66RGlHYPZt
8ijsNprABAtHw/CYMXyDYYHAZISPuyofccPFIJqSqqstoqh2J2DiL+7EHNuM1pDy
65xFP77+T1YwhIf+vEFLb7UhZpBsgrS4qA2YwTzVCz50aalgm9ShfINwZCUUmWlu
4tqYzwdh/QRT40bBYw3wW8wJdesErbyc0GGBfoh81erd1YSMcCiUG5L8nmktHJ8O
XcrIj2GVC/zEEOfPiuiQc2mSN5F0iz1nlEYpHw2FvAREmEnr7sg+N1WkmLq5WVRB
gSB3Ra8OKNYhP0RZSL27jagw1dKiGXfrGjKzn3D+2Dx/oH05nKwh0dJGbV4REpc1
9mVTIWNscT6e8luDZo3M5+9MDgEhVaHlK/gC7CWHQfBIDACJck4pBn00Jg2PewXw
pRm0fuleoRNElXnHqhRFdmwl+wpLP3j+AG//ApBdFjz+hpxu+hL2ydIpJfFeyrBN
LW3ZRkpm5O7zs+TcNTjs
=LCqL
-----END PGP SIGNATURE-----