<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilterManager/ParsingConfiguration/DomainOptions/init(excluded:stripWWW:levels:enumerateHierarchy:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension18NEURLFilterManagerC20ParsingConfigurationV13DomainOptionsV8excluded8stripWWW6levels18enumerateHierarchyAGSb_SbSuSbtcfc"
  },
  "title" : "init(excluded:stripWWW:levels:enumerateHierarchy:)"
}
-->

# init(excluded:stripWWW:levels:enumerateHierarchy:)

Creates a new domain options configuration with default values.

```
init(excluded: Bool = false, stripWWW: Bool = true, levels: UInt = 0, enumerateHierarchy: Bool = true)
```

## Discussion

The domain options default behavior is as follows:

- Parsing includes the domain.
- Parsing strips the `www` subdomain if it is present.
- Parsing includes all domain levels.
- Parsing enables enumeration of the domain hierarchy.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)