On 04/06/2025 18:50, Greg Choules wrote:
The help text for delv says you can specify a source using -b, the same as you can with dig:

Usage:  delv [@server] {q-opt} {d-opt} [domain] [q-type] [q-class]
Where:  domain  is in the Domain Name System
        q-class  is one of (in,hs,ch,...) [default: in]
        q-type   is one of (a,any,mx,ns,soa,hinfo,axfr,txt,...) [default:a]
        q-opt    is one of:
                 -4                  (use IPv4 query transport only)
                 -6                  (use IPv6 query transport only)
                 -a anchor-file      (specify root trust anchor)
                 -b address[#port]   (bind to source address/port)
etc...

The rest I don't know, yet.
Hope that helps, Greg
Thanks Greg.
On Wed, 4 Jun 2025 at 07:46, Nick Tait via bind-users <bind-users@lists.isc.org> wrote:

    I've done a bit more testing on this, and it seems like if you use
    the
    +ns option, delv ignores the -4, -6 and -b options. I'm not sure
    if that
    is by design or not, but it would be useful to be able to control
    which
    source IP address delv uses for queries and whether delv queries
    for A
    or AAAA records? (It would also be good if it queried for both by
    default -- i.e. if neither -4 or -6 were specified?)

    Can anyone advise whether this something I should raise a bug
    report for?

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.

In case anyone else is interested here is the link: https://gitlab.isc.org/isc-projects/bind9/-/issues/5352

Nick.
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to