dnscontrol/documentation/functions/domain/DISABLE_IGNORE_SAFETY_CHECK.md
Jeffrey Cafferata 7977a7b81c
DOCS: Improve consistency in code examples in language reference (#2439)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-06-17 08:58:17 -04:00

610 B

name
DISABLE_IGNORE_SAFETY_CHECK

DISABLE_IGNORE_SAFETY_CHECK() disables the safety check. Normally it is an error to insert records that match an IGNORE() pattern. This disables that safety check for the entire domain.

It replaces the per-record IGNORE_NAME_DISABLE_SAFETY_CHECK() which is deprecated as of DNSControl v4.0.0.0.

See IGNORE() for more information.

Syntax

D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
    DISABLE_IGNORE_SAFETY_CHECK,
    ...
    TXT("myhost", "mytext"),
    IGNORE("myhost", "*", "*"),
    ...