NSX-T Data Center REST API
DnsTtlConfig (type)
{
"description": "Firewall to use TTL config to manage firewall cache to expire snooped FQDN entries from DNS response.",
"id": "DnsTtlConfig",
"module_id": "FirewallProfile",
"properties": {
"dns_ttl_type": {
"description": "TTL type to decide how to manage ttl.",
"enum": [
"USE_TTL",
"AUTO",
"NEVER_EXPIRE"
],
"help_summary": "Use 'USE_TTL' to set custom ttl with the help of 'ttl' property.\nUse 'AUTO' to set ttl value from DNS response packet.\nUse 'NEVER_EXPIRE' to never expire cached entry.\n",
"required": true,
"title": "TTL type.",
"type": "string"
},
"ttl": {
"default": 86400,
"description": "The number of seconds that snooped DNS responses are retained in the cache. Used only when dns_ttl_type is USE_TTL.",
"maximum": 864000,
"minimum": 3600,
"required": false,
"title": "DNS server TTL",
"type": "integer"
}
},
"title": "DNS TTL config",
"type": "object"
}