• # Pour afficher les configurations

    Posté par (site web personnel, Mastodon) . En réponse au journal Quad9, résolveur DNS public, et sécurisé par TLS. Évalué à 10.

    Pour afficher les configurations, il faut utiliser trois accents graves pour les formater en tant que code et normalement ça fonctionne.

    Ici avec un exemple de conf Stubby (type yaml).

    resolution_type: GETDNS_RESOLUTION_STUB
    dns_transport_list:
     - GETDNS_TRANSPORT_TLS
    tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
    tls_query_padding_blocksize: 256
    edns_client_subnet_private : 1
    idle_timeout: 10000
    listen_addresses:
     - 127.0.0.1
     - 0::1
    round_robin_upstreams: 1
    upstream_recursive_servers:
     - address_data: 185.49.141.38
     tls_auth_name: "getdnsapi.net"
     tls_pubkey_pinset:
     digest: "sha256"
     value: foxZRnIh9gZpWnl+zEiKa0EJ2rdCGroMWm02gaxSc9Q=

    Et une sortie Dig (type console) :

    $ dig linuxfr.org
    ; <<>> DiG 9.10.3-P4-Ubuntu <<>> linuxfr.org
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12355
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 1
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;linuxfr.org. IN A
    ;; ANSWER SECTION:
    linuxfr.org. 476 IN A 88.191.250.176
    ;; AUTHORITY SECTION:
    . 53534 IN NS c.root-servers.net.
    . 53534 IN NS b.root-servers.net.
    . 53534 IN NS a.root-servers.net.
    . 53534 IN NS l.root-servers.net.
    . 53534 IN NS g.root-servers.net.
    . 53534 IN NS e.root-servers.net.
    . 53534 IN NS m.root-servers.net.
    . 53534 IN NS h.root-servers.net.
    . 53534 IN NS f.root-servers.net.
    . 53534 IN NS j.root-servers.net.
    . 53534 IN NS k.root-servers.net.
    . 53534 IN NS d.root-servers.net.
    . 53534 IN NS i.root-servers.net.
    ;; Query time: 1 msec
    ;; SERVER: 127.0.1.1#53(127.0.1.1)
    ;; WHEN: Thu Nov 16 18:37:16 CET 2017
    ;; MSG SIZE rcvd: 267

    La connaissance libre : https://zestedesavoir.com