Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection refused (os error 61) #39

Open
legshort opened this issue Nov 23, 2020 · 1 comment
Open

Connection refused (os error 61) #39

legshort opened this issue Nov 23, 2020 · 1 comment

Comments

@legshort
Copy link

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:

  • The version of dog being used (dog --version)
  • The command-line arguments you are using
  • Your operating system and hardware platform

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.


  • os: MacOS Catalina 10.15.7
  • version: v0.1.0 via brew
  • desc: I setup DNS at OS Network setting as 1.1.1.1 and 1.0.0.1 but 1.1.1.1 is not supported in some places and this connection refused occurs when 1.1.1.1 is not supported. so it works fine if I remove 1.1.1.1. I guess dog should support other DNS ip/hostname if fails.
$ 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
Copy link
Contributor

sanxiyn commented Dec 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants