Git Product home page Git Product logo

pi-dns's People

Contributors

noexittv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pi-dns's Issues

AWS internal LoadBalancer IP's not resolved

When using Pi-DNS normal or DoH AWS internal load balancer IP's are not resolved.

Normal DNS

Using CloudFlare

$ dig @1.1.1.1 internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com

; <<>> DiG 9.10.6 <<>> @1.1.1.1 internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1849
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com. IN A

;; ANSWER SECTION:
internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com. 60 IN	A 10.1.28.204

;; Query time: 384 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue Aug 11 22:31:52 IST 2020
;; MSG SIZE  rcvd: 205

Using Pi-DNS

$ dig @185.213.26.187 internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com

; <<>> DiG 9.10.6 <<>> @185.213.26.187 internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32969
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com. IN A

;; AUTHORITY SECTION:
us-east-1.elb.amazonaws.com. 1462 IN	NS	ns-1119.awsdns-11.org.
us-east-1.elb.amazonaws.com. 1462 IN	NS	ns-1793.awsdns-32.co.uk.
us-east-1.elb.amazonaws.com. 1462 IN	NS	ns-235.awsdns-29.com.
us-east-1.elb.amazonaws.com. 1462 IN	NS	ns-934.awsdns-52.net.

;; Query time: 252 msec
;; SERVER: 185.213.26.187#53(185.213.26.187)
;; WHEN: Tue Aug 11 22:32:32 IST 2020
;; MSG SIZE  rcvd: 246

DoH

Using CloudFlare

$ curl -sSL -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com&type=A' | jq .
{
  "Status": 0,
  "TC": false,
  "RD": true,
  "RA": true,
  "AD": false,
  "CD": false,
  "Question": [
    {
      "name": "internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com",
      "type": 1
    }
  ],
  "Answer": [
    {
      "name": "internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com",
      "type": 1,
      "TTL": 60,
      "data": "10.1.28.204"
    }
  ]
}

Using Pi-DNS

$ curl -sSL -H 'accept: application/dns-json' 'https://doh.pi-dns.com/dns-query?name=internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com&type=A' | jq .
{
  "Status": 0,
  "TC": false,
  "RD": true,
  "RA": true,
  "AD": false,
  "CD": false,
  "Question": [
    {
      "name": "internal-af90b8a66a8624061b5e32cc076dd867-1295241024.us-east-1.elb.amazonaws.com.",
      "type": 1
    }
  ],
  "Authority": [
    {
      "name": "us-east-1.elb.amazonaws.com.",
      "type": 2,
      "TTL": 33,
      "Expires": "Tue, 11 Aug 2020 17:05:00 UTC",
      "data": "ns-1119.awsdns-11.org."
    },
    {
      "name": "us-east-1.elb.amazonaws.com.",
      "type": 2,
      "TTL": 33,
      "Expires": "Tue, 11 Aug 2020 17:05:00 UTC",
      "data": "ns-1793.awsdns-32.co.uk."
    },
    {
      "name": "us-east-1.elb.amazonaws.com.",
      "type": 2,
      "TTL": 33,
      "Expires": "Tue, 11 Aug 2020 17:05:00 UTC",
      "data": "ns-235.awsdns-29.com."
    },
    {
      "name": "us-east-1.elb.amazonaws.com.",
      "type": 2,
      "TTL": 33,
      "Expires": "Tue, 11 Aug 2020 17:05:00 UTC",
      "data": "ns-934.awsdns-52.net."
    }
  ],
  "edns_client_subnet": "61.2.213.0/0"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.