Service/Nameservers: Difference between revisions
No edit summary Tag: visualeditor-switched |
Tag: visualeditor-switched |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
* [[User:Bernie|Bernie Innocenti]] | * [[User:Bernie|Bernie Innocenti]] | ||
(please use preferably the administrative address) | (please use preferably the administrative address) | ||
| Line 26: | Line 25: | ||
! '''ns1.sugarlabs.org''' | ! '''ns1.sugarlabs.org''' | ||
| lightwave | | lightwave | ||
| | | Sonic, Santa Rosa CA, USA | ||
| | | 192.184.220.216 | ||
| | | 2001:5a8:601:f::216/64 | ||
|- | |- | ||
| ns2.sugarlabs.net | | ns2.sugarlabs.net | ||
| Line 34: | Line 33: | ||
| FSF, Boston, USA | | FSF, Boston, USA | ||
| 208.118.235.53 | | 208.118.235.53 | ||
| 2001: | | 2001:470:142:7::11 | ||
|- | |- | ||
| ns1.codewiz.org | | ns1.codewiz.org | ||
| Line 54: | Line 53: | ||
git clone lightwave.sugarlabs.org:/var/lib/bind/etc/bind ns | git clone lightwave.sugarlabs.org:/var/lib/bind/etc/bind ns | ||
'''NOTE:''' Your user on [[Machine/lightwave]] needs to be in group hostmaster. Do not clone the repo on lightwave, clone it to your local host. | |||
To push changes, you will also need the DNSSEC private keys for your domain. For security reasons, these | |||
are not kept on the master DNS itself. Ask one of the other hostmasters for a copy and put it in the keys/ | are not kept on the master DNS itself. Ask one of the other hostmasters for a copy and put it in the keys/ | ||
directory alongside the public keys. | directory alongside the public keys. | ||
| Line 90: | Line 89: | ||
For other domains hosted on Sugar Labs infrastructure (such as eg. somosazucar.org) use: | For other domains hosted on Sugar Labs infrastructure (such as eg. somosazucar.org) use: | ||
./update-zone | ./update-zone turtleartday.org | ||
This will check the zone before pushing. | This will check the zone before pushing. | ||
| Line 103: | Line 102: | ||
=== How to create keys for a new domain === | === How to create keys for a new domain === | ||
We standardized on algorithm 13 (ECDSAP256SHA256) because it's what RFC 8624 recommends and what Cloudflare uses: | |||
cd keys | cd keys | ||
dnssec-keygen -a | dnssec-keygen -K keys -3 -a ECDSAP256SHA256 -n ZONE codewiz.org | ||
dnssec-keygen -a | dnssec-keygen -K keys -3 -a ECDSAP256SHA256 -n ZONE -f KSK codewiz.org | ||
=== How to manually sign a zone === | === How to manually sign a zone === | ||
| Line 119: | Line 121: | ||
The data to copy is written by dnssec-signzone to the file keys/dsset-DOMAIN and looks like this: | The data to copy is written by dnssec-signzone to the file keys/dsset-DOMAIN and looks like this: | ||
codewiz.org. IN DS 53631 13 2 C31F7790197F0DC5CE7726F731FA55A9189289540749A68A937BFD09 797D72E6 | codewiz.org. IN DS 53631 13 2 C31F7790197F0DC5CE7726F731FA55A9189289540749A68A937BFD09 797D72E6 | ||
| Line 132: | Line 133: | ||
* Validate zone data with dig: | * Validate zone data with dig: | ||
dig +dnssec +multiline -t ns codewiz.org. @1.1.1.1 | grep ad | dig +dnssec +multiline -t ns codewiz.org. @1.1.1.1 | grep ad | ||
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1 | |||
* Validate zone data against domain DNSKEY: | * Validate zone data against domain DNSKEY: | ||
unbound-host -y 'codewiz.org. | $ unbound-host -y 'codewiz.org. DNSKEY 256 3 13 IbIcUsP+G7cnSmi12BpuiMjM9LnqvDaRS+qiquGKXxH/qAuOGlODFA4E 18O1OErfu0CkFjg6JEynOG6cSR40yg==' -v codewiz.org | ||
codewiz.org has address 209.51.188.53 (secure) | |||
codewiz.org has IPv6 address 2001:470:142:7::11 (secure) | |||
codewiz.org mail is handled by 10 neo.develer.net. (secure) | |||
* Validate zone data against domain DS key: | * Validate zone data against a domain's DS key: | ||
unbound-host | unbound-host -f keys/dsset-sugarlabs.org. -v sugarlabs.org | ||
sugarlabs.org has address 185.199.111.153 (secure) | |||
sugarlabs.org has address 185.199.110.153 (secure) | |||
sugarlabs.org has no IPv6 address (secure) | |||
sugarlabs.org mail is handled by 10 mail0.codewiz.org. (secure) | |||
sugarlabs.org mail is handled by 20 sunjammer.sugarlabs.org. (secure) | |||
* Validate zone data against root DNSKEY: | * Validate zone data against the root DNSKEY: | ||
unbound-host | unbound-host -D -v wiki.sugarlabs.org | ||
wiki.sugarlabs.org is an alias for sunjammer.sugarlabs.org. (secure) | |||
sunjammer.sugarlabs.org has address 209.51.188.53 (secure) | |||
sunjammer.sugarlabs.org has IPv6 address 2001:470:142:7::11 (secure) | |||
sunjammer.sugarlabs.org has no mail handler record (secure) | |||