ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unsolved Linux Dig Finding cname records

    IT Discussion
    linux dig shell dns cname
    5
    12
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marcinozga @DustinB3403
      last edited by

      @dustinb3403 said in Linux Dig Finding cname records:

      Okay so this may be a stupid question (I'm sure many of my questions are).

      Shouldn't dig +nocmd domain.com cname +noall +answer give me all alias for my domain?

      I'm getting no response back at all, just a blank return.

      It doesn't work that way. You need to perform zone transfer to get all cname records. So unless you admin DNS server you try to query, you're sol.

      V DustinB3403D 2 Replies Last reply Reply Quote 1
      • V
        VoIP_n00b @marcinozga
        last edited by

        https://bfy.tw/RPg6

        1 Reply Last reply Reply Quote -1
        • DustinB3403D
          DustinB3403 @marcinozga
          last edited by

          @marcinozga said in Linux Dig Finding cname records:

          It doesn't work that way. You need to perform zone transfer to get all cname records. So unless you admin DNS server you try to query, you're sol.

          Yeah I'm the DNS admin, was hoping for a simple enough way to look these records up without having to use the damn web site.

          I'll look into what you've suggested.

          EddieJenningsE 1 Reply Last reply Reply Quote 0
          • EddieJenningsE
            EddieJennings @DustinB3403
            last edited by

            @dustinb3403 Are you an admin of the DNS server itself? If so, maybe grep your BIND zone file for CNAME records or use Get-DNSServerResourceRecordon your Windows DNS server.

            DustinB3403D 1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @EddieJennings
              last edited by

              @eddiejennings said in Linux Dig Finding cname records:

              @dustinb3403 Are you an admin of the DNS server itself? If so, maybe grep your BIND zone file for CNAME records or use Get-DNSServerResourceRecordon your Windows DNS server.

              I'm am, but this is public dns records I was hoping to pull.

              M EddieJenningsE 2 Replies Last reply Reply Quote 0
              • M
                marcinozga @DustinB3403
                last edited by

                @dustinb3403 said in Linux Dig Finding cname records:

                @eddiejennings said in Linux Dig Finding cname records:

                @dustinb3403 Are you an admin of the DNS server itself? If so, maybe grep your BIND zone file for CNAME records or use Get-DNSServerResourceRecordon your Windows DNS server.

                I'm am, but this is public dns records I was hoping to pull.

                Not happening. I should have been more specific, you need to host DNS records for that domain on your own DNS server.

                DustinB3403D 1 Reply Last reply Reply Quote 1
                • DustinB3403D
                  DustinB3403 @marcinozga
                  last edited by

                  @marcinozga said in Linux Dig Finding cname records:

                  @dustinb3403 said in Linux Dig Finding cname records:

                  @eddiejennings said in Linux Dig Finding cname records:

                  @dustinb3403 Are you an admin of the DNS server itself? If so, maybe grep your BIND zone file for CNAME records or use Get-DNSServerResourceRecordon your Windows DNS server.

                  I'm am, but this is public dns records I was hoping to pull.

                  Not happening. I should have been more specific, you need to host DNS records for that domain on your own DNS server.

                  Yeah that is what I figured.

                  1 Reply Last reply Reply Quote 0
                  • EddieJenningsE
                    EddieJennings @DustinB3403
                    last edited by

                    @dustinb3403 said in Linux Dig Finding cname records:

                    I'm am, but this is public dns records I was hoping to pull.

                    If you're the administrator of the DNS server itself, then I would think you could just log into the server and get the desired zone records.

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @EddieJennings
                      last edited by

                      @eddiejennings said in Linux Dig Finding cname records:

                      @dustinb3403 said in Linux Dig Finding cname records:

                      I'm am, but this is public dns records I was hoping to pull.

                      If you're the administrator of the DNS server itself, then I would think you could just log into the server and get the desired zone records.

                      Yes I can, but I don't want to have to use the web interface do this (as it's an irritating dns provider)

                      EddieJenningsE 1 Reply Last reply Reply Quote 0
                      • EddieJenningsE
                        EddieJennings @DustinB3403
                        last edited by

                        @dustinb3403 said in Linux Dig Finding cname records:

                        @eddiejennings said in Linux Dig Finding cname records:

                        @dustinb3403 said in Linux Dig Finding cname records:

                        I'm am, but this is public dns records I was hoping to pull.

                        If you're the administrator of the DNS server itself, then I would think you could just log into the server and get the desired zone records.

                        Yes I can, but I don't want to have to use the web interface do this (as it's an irritating dns provider)

                        I see. I thought you were talking about some VM that's a DNS server. I'm thinking "dude, just ssh in and get your records." :P.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          API and a script

                          1 Reply Last reply Reply Quote 2
                          • 1 / 1
                          • First post
                            Last post