<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 04/06/2025 18:50, Greg Choules
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANsEUy0cU8+o8CKunQOgCxSZ--mhPr1c4_h91Hqc8WvH5HdLbw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>The help text for delv says you can specify a source using
-b, the same as you can with dig:</div>
<div><br>
</div>
<div>Usage: delv [@server] {q-opt} {d-opt} [domain] [q-type]
[q-class]<br>
Where: domain is in the Domain Name System<br>
q-class is one of (in,hs,ch,...) [default: in]<br>
q-type is one of
(a,any,mx,ns,soa,hinfo,axfr,txt,...) [<a class="moz-txt-link-freetext" href="default:a">default:a</a>]<br>
q-opt is one of:<br>
-4 (use IPv4 query transport
only)<br>
-6 (use IPv6 query transport
only)<br>
-a anchor-file (specify root trust
anchor)<br>
-b address[#port] (bind to source
address/port)<br>
</div>
<div>etc...</div>
<div><br>
</div>
<div>The rest I don't know, yet.</div>
<div>Hope that helps, Greg</div>
</div>
</blockquote>
Thanks Greg.<br>
<blockquote type="cite"
cite="mid:CANsEUy0cU8+o8CKunQOgCxSZ--mhPr1c4_h91Hqc8WvH5HdLbw@mail.gmail.com">
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Wed, 4 Jun 2025 at 07:46,
Nick Tait via bind-users <<a
href="mailto:bind-users@lists.isc.org"
moz-do-not-send="true" class="moz-txt-link-freetext">bind-users@lists.isc.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've
done a bit more testing on this, and it seems like if you use
the <br>
+ns option, delv ignores the -4, -6 and -b options. I'm not
sure if that <br>
is by design or not, but it would be useful to be able to
control which <br>
source IP address delv uses for queries and whether delv
queries for A <br>
or AAAA records? (It would also be good if it queried for both
by <br>
default -- i.e. if neither -4 or -6 were specified?)<br>
<br>
Can anyone advise whether this something I should raise a bug
report for?<br>
</blockquote>
</div>
</blockquote>
<p>Petr, I saw that you'd created a bug report for delv not querying
for A and AAAA records by default. I hope you don't mind, I've
added the information above regarding -4 and -6 options (and -b)
to it.</p>
<p>In case anyone else is interested here is the link:
<a class="moz-txt-link-freetext" href="https://gitlab.isc.org/isc-projects/bind9/-/issues/5352">https://gitlab.isc.org/isc-projects/bind9/-/issues/5352</a><br>
</p>
<p>Nick.<br>
</p>
</body>
</html>