Whonix Workstation DNS fails to resolve some hostnames

I’m using WhonixGateway+WhonixWorkstation. From Workstation: ‘github.com’ resolves fine,
‘repo.packagist.org’ doesn’t resolve at all

/etc/resolv.conf

## Copyright (C) 2012 - 2023 ENCRYPTED SUPPORT LP <[email protected]>
## See the file COPYING for copying conditions.

#### meta start
#### project Whonix
#### category networking and dns
#### description
## set <code>nameserver 10.152.152.10</code>
## This works different in Qubes-Whonix.
#### meta end

## IP HARDCODED unfortunately.
nameserver 10.152.152.10

---------------------------------------------------------------

$ nslookup github.com

Server:       10.152.152.10
Address:  10.152.152.10#53

Non-authoritative answer:
Name: github.com
Address: 140.82.121.4
** server can't find github.com: NXDOMAIN
zsh: exit 1     nslookup github.com

---------------------------------------------------------------

$ nslookup repo.packagist.org          

Server:       10.152.152.10
Address:  10.152.152.10#53
** server can't find repo.packagist.org: NXDOMAIN
zsh: exit 1     nslookup repo.packagist.org

Editing /etc/resolve.conf on my Workstation doesn’t help. Any DNS server used instead of the Gateway one leads to ‘connection refused’ (even if I use it with ‘options use-vc’ to prevent using UDP)

How can I make ‘repo.packagist.org’ to resolve?

Leave a Comment