---
name: "Net::DNS::SEC::examples"
section: "3pm"
platform: "linux"
package: "dnssec-tools"
version: "2.2.3-16"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Net::DNS::SEC::examples"
---

# Net::DNS::SEC::examples(3pm)

`$r` = `$val1`-\>res\_query("good-a.test.dnssec-tools.org", "IN", "A"); my ($pkt, `$err`) = new Net::DNS::Packet(\\$r); print ($val1-\>istrusted ? \
            "result is trusted\\n" : \
            "result is NOT trusted\\n"); `$pkt`-\>print;

## POD ERRORS

Hey! **The above document had some coding errors, which are explained below:**

- Around line 72:

  \=pod directives shouldn't be over one line long!  Ignoring all 7 lines of content

- Around line 91:

  \=pod directives shouldn't be over one line long!  Ignoring all 11 lines of content
