Opened 2 years ago

Last modified 23 months ago

#21902 new defect

evdns adds default DNS servers, but chutney wants a consistent environment

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: chutney-wants, ipv6, tor-relay dns exit testing
Cc: Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description

When we test tor exits using chutney, we want a consistent network environment, so that tests pass or fail reliably.

This means that we want to be able to configure exits with no DNS servers, and have them only connect to IP addresses.

But evdns adds default name server(s) in some circumstances (for example, 127.0.0.1:53.)

This default could also be an issue on an IPv6-only system, where we'd want [::1]:53. (Yes, some IPv6-only systems don't even have an IPv4 localhost!)

This is also broken because of the empty/missing resolv.conf behaviour in #21900.

Child Tickets

Change History (1)

comment:1 Changed 23 months ago by nickm

Keywords: tor-relay dns exit testing added
Note: See TracTickets for help on using tickets.