Flag
A modifier such as g, i, m, s, u or y that changes matching behaviour.
Overview
A modifier such as g, i, m, s, u or y that changes matching behaviour.
All record types, propagation, DNSSEC, CAA and wildcard checks.
This term appears across 7 tools in the DNS category. Use the examples and checks below to see how it behaves in practice.
Where you see it
Flags change everything: g finds all matches, i ignores case, m makes ^ and $ match line boundaries, s lets .
Regex TesterThe replace preview applies the pattern with the chosen flags.
Regex TesterA pattern that works in match mode can behave differently in replace mode when the global flag is off.
Regex Tester
Examples
Try a live check with cloudflare.com using DNSSEC Validator.
DNSSEC ValidatorHow to use it
- Open DNSSEC Validator and run it against a real target such as cloudflare.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- Flag can be cached for its TTL, so a change may look missing until caches expire; compare the record's TTL with the age of the answer.
- A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
- A single check shows one target from one environment; confirm Flag with a second tool, device or source before you change anything.
Why it matters
All record types, propagation, DNSSEC, CAA and wildcard checks.
7 tools use this term
DNSWhere to check it
Use HTTP/2 Observability, EDNS0 / TCP Fallback, DNSSEC Validator, NS Delegation Checker, Key Length Checker, Data Residency Hints, Regex Tester to inspect it directly. Each tool shows the raw result and its limitations.
DNSCommon problems and fixes
Why does my pattern only match once?
Add the g flag. Without it, match returns the first result only. The replace preview also replaces the first occurrence unless g is set.
From Regex TesterNo result or a timeout: check the target syntax, network path and firewall or resolver policy, then retry from another network.
An old value persists: wait for the TTL to expire, then query the authoritative server directly.
Used in these tools
7 toolsStandards and references
Frequently asked questions
What is Flag?+
A modifier such as g, i, m, s, u or y that changes matching behaviour.
How do I check Flag?+
Use HTTP/2 Observability, EDNS0 / TCP Fallback, DNSSEC Validator, NS Delegation Checker, Key Length Checker, Data Residency Hints, Regex Tester to inspect it directly. Each tool shows the raw result and its limitations.
Why does Flag matter?+
It affects how DNS results are read. All record types, propagation, DNSSEC, CAA and wildcard checks.
What is a common mistake?+
Expecting instant changes. Cached Flag answers persist until their TTL expires.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


