IPv6 - CESNET/UltraGrid GitHub Wiki

IP Version Handling

By default, if both A and AAAA records are present for specified hostname, UltraGrid chooses IP version according to system settings. If you directly specify dot-separated IPv4 or colon-separated IPv6 address, correct IPv4 or IPv6 respectively are used:

uv -t decklink example.org # preferred IP version is used
uv -t decklink 93.184.216.34 # IPv4 address is used
uv -t decklink 2606:2800:220:1:248:1893:25c8:1946 # IPv6 address is used

Forcing IPv4/IPv6

If you want to force IPv4/IPv6 address, you can instruct UltraGrid to use it explicitly by adding -4 or -6 option:

uv -4 -t decklink example.org # address 93.184.216.34 is used
uv -6 -t decklink example.org # address 2606:2800:220:1:248:1893:25c8:1946 is used