Skip to content

Nameserver should respond with A and AAAA records for websites #69

@fauno

Description

@fauno

Since Godaddy doesn't support ALIAS records, we had to delegate a domain name to dns.he.net to create an ALIAS to api.distributed.press so it keeps IP addresses in sync, and NS to _dnslink for P2P protocols.

If the DP nameserver could craft answers for A/AAAA queries for websites pointing to its own IP address, it would be easy to just delegate the domain to DP and not having to configure a third party nameserver.

Right now it seems to be ignoring the query type, I ask for A records and returns TXT:

drill a custom.domain @api.distributed.press
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 57997
;; flags: qr rd ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; custom.domain. IN      A

;; ANSWER SECTION:
custom.domain.    60      IN      TXT     "dnslink=/ipns/XXXX/"
custom.domain.    60      IN      TXT     "dnslink=/hyper/XXXX/"

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 179 msec
;; SERVER: 198.50.215.13
;; WHEN: Wed Oct 25 19:04:32 2023
;; MSG SIZE  rcvd: 222

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions