Skip to content

Resolve pvxlist hostnames in server arguments#175

Open
derekste wants to merge 1 commit intoepics-base:masterfrom
derekste:fix/pvxlist-dns-addrlist
Open

Resolve pvxlist hostnames in server arguments#175
derekste wants to merge 1 commit intoepics-base:masterfrom
derekste:fix/pvxlist-dns-addrlist

Conversation

@derekste
Copy link
Copy Markdown

@derekste derekste commented May 1, 2026

Summary

pvxlist server arguments are expected to work with IP[:port], but hostnames/FQDNs can currently fail even when normal DNS resolution succeeds.

This resolves command-line server arguments before passing them to .server(), preserving the original argument in user-facing output.

Example

Before:
pvxlist bidaq0-bbdcct.domain.gov
From bidaq0-bbdcct.domain.gov : Error resolving "bidaq0-bbdcct.domain.gov" : nodename nor servname provided, or not known

After
pvxlist bidaq0-bbdcct.domain.gov
BOOSTER:DCCTWF

also works for hostname(non-FQDN):port and other valid combinatons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant