Skip to content

Commit

Permalink
updated README.md with examples using IETF RFC 3849 IPv6 documentatio…
Browse files Browse the repository at this point in the history
…n address and RFC 5737 IPv4 documentation addresses
  • Loading branch information
camunro committed Aug 23, 2023
1 parent 3c4f035 commit f84febb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ Resolve TXT Records:
let records = try client.sendQuery(forHost: "example.com", type: .txt).wait()
```

Resolve PTR Records:

```swift
let records = try client.ipv4InverseAddress("198.51.100.1").wait()

let records = try client.ipv6InverseAddress("2001:DB8::").wait()
```

Need I say more?

### Notes
Expand Down

0 comments on commit f84febb

Please sign in to comment.