---
title: syntheticDNSAnswerIPv4Prefix
framework: Network Extension
role: symbol
role_heading: Instance Property
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+]
path: networkextension/nerelay/syntheticdnsansweripv4prefix
---

# syntheticDNSAnswerIPv4Prefix

An IPv4 address prefix the relay uses to handle address info requests.

## Declaration

```swift
var syntheticDNSAnswerIPv4Prefix: String? { get set }
```

## Discussion

Discussion The value of this property is an address prefix, such as 192.0.2.0/24. The relay manager uses this prefix to synthesize DNS answers for apps that use getaddrinfo() to resolve domains included in matchDomains.

## See Also

### Configuring client properties

- [additionalHTTPHeaderFields](networkextension/nerelay/additionalhttpheaderfields.md)
- [identityData](networkextension/nerelay/identitydata.md)
- [identityDataPassword](networkextension/nerelay/identitydatapassword.md)
- [syntheticDNSAnswerIPv6Prefix](networkextension/nerelay/syntheticdnsansweripv6prefix.md)
