ogham / dog

A command-line DNS client.
https://dns.lookup.dog/
European Union Public License 1.2
6.16k stars 175 forks source link

Connection refused (os error 61) #39

Open legshort opened 3 years ago

legshort commented 3 years ago

If dog does something unexpected, or displays an error on the screen, or if it outright crashes, then please include the following information in your report:

If it’s a crash, please include the full text of the crash that gets printed to the screen. If you’re seeing unexpected behaviour, a screenshot of the issue will help a lot.


$ DOG_DEBUG=trace dog google.com MX
[TRACE dog::options] Got domain -> "google.com"
[TRACE dog::options] Got qtype -> "MX"
[INFO dog] Running with options -> Options {
    requests: RequestGenerator {
        inputs: Inputs {
            domains: [
                Labels {
                    segments: [
                        (
                            6,
                            "google",
                        ),
                        (
                            3,
                            "com",
                        ),
                    ],
                },
            ],
            types: [
                15,
            ],
            classes: [
                IN,
            ],
            resolvers: [
                SystemDefault,
            ],
            transport_types: [
                Automatic,
            ],
        },
        txid_generator: Random,
        edns: SendAndHide,
        protocol_tweaks: ProtocolTweaks {
            set_authoritative_flag: false,
            set_authentic_flag: false,
            set_checking_disabled_flag: false,
            udp_payload_size: None,
        },
    },
    measure_time: false,
    format: Text(
        Automatic,
        TextFormat {
            format_durations: true,
        },
    ),
}
[INFO dns_transport::udp] Opening UDP socket
[DEBUG dns_transport::udp] Opened
[INFO dns_transport::udp] Sending 39 bytes of data to 1.1.1.1 over UDP
[DEBUG dns_transport::udp] Wrote 39 bytes
[INFO dns_transport::udp] Waiting to receive...
Error [network]: Connection refused (os error 61)
sanxiyn commented 3 years ago

It would help if you can report the content of /etc/resolv.conf.