Skip to content

Instantly share code, notes, and snippets.

Source: curl
Section: web
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Alessandro Ghedini <ghedo@debian.org>
Uploaders: Ian Jackson <ijackson@chiark.greenend.org.uk>
Build-Depends: debhelper (>= 9),
autoconf,
automake,
ca-certificates,
server {
listen 80;
location /.well-known/acme-challenge/ {
root /path/to/certbot;
try_files $uri @redirect;
}
location @redirect {
return http://xmpp-server.example.com$request_uri;
}
server_name example.com www.example.com;
map $host $host_or_hyphen {
default $host;
"" -;
}
log_format lighttpd
'$remote_addr $host_or_hyphen $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" "$http_user_agent"';
access_log /var/log/nginx/access.log lighttpd;
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys
import idna
def main():
for line in sys.stdin:
line = line.rstrip()
time 1 LUA A "(string.gsub(os.date('!127.%H.%M.%S'), '%.0', '.'))"
time 1 LUA AAAA "os.date('!2001:0db8:%Y:00%m:00%d:00%H:00%M:00%S')"
time 1 LUA TXT "os.date('!%FT%TZ')"
NSEC TLDs
2018-04-01
TLD MIN TTL Operator
audio 86400 900 Uniregistry
auto 86400 900 Uniregistry
blackfriday 86400 900 Uniregistry
cars 86400 900 Uniregistry
christmas 86400 900 Uniregistry
click 86400 900 Uniregistry
$ dig +bufsize=512 +dnssec +norecurse @b.edu-servers.net chattanoogastate.edu
; <<>> DiG 9.13.5-1+ubuntu16.04.1+deb.sury.org+2-Ubuntu <<>> +bufsize +dnssec +norecurse @b.edu-servers.net chattanoogastate.edu
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53484
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 9, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
$ mhost -bnqS pl | xargs mhost -q | xargs -I _ dig @_ +bufsize=512 +dnssec +ignore +nocookie +norecurse +tcp Nextcloud.Majchrowski.Waw.Pl caa | awk '{print " " $0}'
; <<>> DiG 9.13.5-1+ubuntu16.04.1+deb.sury.org+2-Ubuntu <<>> @194.181.87.156 +bufsize +dnssec +ignore +nocookie +norecurse +tcp Nextcloud.Majchrowski.Waw.Pl caa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46534
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
$ mhost -bnqS pl | xargs mhost -q | xargs -I _ dig @_ +bufsize=512 +dnssec +ignore +nocookie +norecurse i-dns.pl aaaa
; <<>> DiG 9.13.5-1+ubuntu16.04.1+deb.sury.org+2-Ubuntu <<>> @194.181.87.156 +bufsize +dnssec +ignore +nocookie +norecurse i-dns.pl aaaa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48459
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
$ dig +dnssec +norecurse +nsid @199.254.59.1 ag soa
; <<>> DiG 9.15.7-Ubuntu <<>> +dnssec +norecurse +nsid @199.254.59.1 ag soa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35259
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 7, ADDITIONAL: 1
;; OPT PSEUDOSECTION: