pkg-1.11.0 doesn't work with an IPv6 only repository.
% sudo pkg upgrade
Updating example repository catalogue...
pkg: http://pkg.example.org/FreeBSD:11:amd64/local/meta.txz: No address record
repository example has no meta file, using default settings
pkg: http://pkg.example.org/FreeBSD:11:amd64/local/packagesite.txz: No address record
Unable to update repository example
Error updating repositories!
The cause of this problem is that libfetch shipped with pkg is compiled without INET6 definition. I confirmed that compiling libfetch with INET6 defined fix this problem.
fixed in 1.11.1 thanks
A commit references this bug:
Date: Fri May 31 14:59:44 UTC 2019
New revision: 503177
Update to 1.11.1
- Fix abi string for dragonfly
- Fix libfetch built without ipv6 support 
Reported by: ume
*** Bug 238263 has been marked as a duplicate of this bug. ***