< ^ txt
Tue Jan 31 09:59:55 EST 2017
Slept from ten to seven. Woke briefly around three. I feel rested.
High around thirty. Chance of snow.
Work:
- Figure out what we want to do for SIP phone config (NAPTR/SRV or force out by phone config)
DNS?
I set up an alpine linux lxc container.
https://wiki.alpinelinux.org/wiki/Setting_up_nsd_DNS_server
https://www.vultr.com/docs/running-nsd-and-unbound-on-openbsd-5-6
https://calomel.org/nsd_dns.html
nsd(8), nsd.conf(5), nsd-checkconf(8), nsd-control(8)
# apk add nsd man nsd-doc
# rc-update add nsd boot
# cat << 'EOF' > /etc/nsd/nsd.conf
server:
ip-address: 10.100.0.20
hide-version: yes
zone:
name: example.net
zonefile: example.net.zone
EOF
# cat << 'EOF' > /etc/nsd/example.net.zone
$ORIGIN example.net.
$TTL 86400
@ IN SOA ns1.example.net. hostmaster.example.net. (
2017010203 ; serial number
28800 ; Refresh
7200 ; Retry
86400 ; Expire
3600 ; Min TTL
)
NS ns1.example.net.
MX 10 mail.example.net.
NAPTR 10 100 "s" "SIP+D2U" "" _sip._udp.example.net.
ns1 IN A 10.100.0.20
mail IN A 10.100.0.2
bag IN A 10.100.0.20
gab IN A 10.100.0.99
_sip._udp SRV 10 100 5060 bag.example.net.
_sip._udp SRV 20 100 5060 gab.example.net.
EOF
Thirty minute walk at lunch. Not too cold. Big, wet snowflakes. Pretty.
Not the most productive day, but eh.
Home:
- Eat a healthy dinner
Done.
Watched an episode of the West Wing.
Listened to some tunes.
Started making a few notes on the LOVE Lua game engine.
https://paulgorman.org/technical/lua-love.txt
Vacuumed.
Drew a little.
Breakfast: carrots, spinach, yogurt
Lunch: nuts
Dinner: chicken, coleslaw, baked beans, biscuit
< ^ txt