|
Size: 1440
Comment:
|
Size: 1660
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
'''I repeat: sending in a new record deletes all old ones.''' Thus, you have to send absolute changesets. To get your currently allocated domains: {{{ echo show || gpg --clearsign || mail changes@db.debian.org }}} |
|
| Line 8: | Line 13: |
| echo "foo in a 10.11.12.13" || gpg --clearsign || mail change@db.debian.org' | echo "foo in a 10.11.12.13" || gpg --clearsign || mail changes@db.debian.org' |
| Line 15: | Line 20: |
| echo "bar in cname debbar.quux.com." || gpg --clearsign || mail change@db.debian.org' | echo "bar in cname debbar.quux.com." || gpg --clearsign || mail changes@db.debian.org' |
| Line 22: | Line 27: |
| gpg --clearsign <<EOF || mail change@db.debian.org | gpg --clearsign <<EOF || mail changes@db.debian.org |
From http://db.debian.org/doc-mail.html ...
Debian.net DNS Zone Entry. The only way to get a debian.net address is to use the mail gateway. It will verify the request and prevent name collisions automatically. Requests can take two forms: 'foo in a 1.2.3.4' or 'foo in cname foo.bar.' The precise form is critical and must not be deviated from. Like the SSH function above, multiple hosts are supported, but they must all be sent at once.
I repeat: sending in a new record deletes all old ones. Thus, you have to send absolute changesets. To get your currently allocated domains:
echo show || gpg --clearsign || mail changes@db.debian.org
So...to get an A record for 'foo' that points to '10.11.12.13', just do
echo "foo in a 10.11.12.13" || gpg --clearsign || mail changes@db.debian.org'
from an account that has access to your GPG key in the DebianKeyring.
To get a CNAME record for 'bar' that points to 'debbar.quux.com', just do (and don't forget the final dot after the domain name pointed to):
echo "bar in cname debbar.quux.com." || gpg --clearsign || mail changes@db.debian.org'
from an account that has access to your GPG key in the DebianKeyring. Be sure to get that trailing dot...it's critical.
Now, to have more than one debian.net address, you have to do a little more.
gpg --clearsign <<EOF || mail changes@db.debian.org foo in a 10.11.12.13 bar in cname debbar.quux.com. baz in a 10.11.12.42 EOF
Don't forget that the account you run this from needs to have access to your GPG key that's in the DebianKeyring.
