host.c does have "U":

it's even in the optstring array:

But the pre_parse() function in
projects/bind9/blob/master/bin/dig/host.c#L597 isn't handling it

I think this ought to fix it:
--- a/bin/dig/host.c
+++ b/bin/dig/host.c
@@ -657,6 +657,7 @@ pre_parse_args(int argc, char **argv) {
                case 'N': break;
                case 'R': break;
                case 'T': break;
+               case 'U': break;
                case 'W': break;

I'll give it a try and submit upstream if it works.

** Changed in: bind9 (Ubuntu)
     Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: bind9 (Ubuntu)
       Status: Confirmed => In Progress

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  host utility doesn't support switch -U (force UDP)

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to