paulgorman.org

< ^ txt

Tue Feb 7 08:15:43 EST 2017 Slept from eleven to seven without waking. Today: fog, showers, thunderstorms, and a high of fifty-one. Fifty-one and thunderstorms in February. Work: - Test dns server with phones Done. Working. I stayed at work until 6:30, but there are still a few things to test with failover. # iptables -t nat -A PREROUTING -d 10.0.0.76/32 -p udp --dport 53 -j DNAT --to-destination 10.100.0.20 # iptables -t nat -A PREROUTING -d 10.0.0.76/32 -p tcp --dport 53 -j DNAT --to-destination 10.100.0.20 - How is the mailer set for cron, and what of what does it need to be capable? Done, I guess. As is often the case, the answer is easy to find on OpenBSD. > authors of alternative MTAs have written their front end message submission programs so that they use the same calling conventions as sendmail(8) and may be put into place instead of sendmail(8) in /usr/sbin/sendmail. http://man.openbsd.org/OpenBSD-current/man5/mailer.conf.5 http://man.openbsd.org/mailwrapper.8 http://man.openbsd.org/sendmail.8 Whereas, on Debian: ll /usr/sbin/sendmail lrwxrwxrwx 1 root root 5 Jan 19 13:18 /usr/sbin/sendmail -> exim4* How do domain squatters choose names? Say you have a small or medium business with a name like Havisham-Peggotty. You own a new of the more desirable related domain names. Why and how would a domain squatter register a less desirable variant like "havishamdashpeggotty.com"? It might rarely get some traffic by accident, but rarely enough that even the legit business doesn't really want the domain. And why hold onto it for _years_? How did the squatter decide to buy the domain? I can't find a good answer on the internet. Ways I can think of: - Faithless registrars. At some point, somebody checked the name availability on a domain registrar's site, and that registrar silently gobbled up the domain and held onto it. - Exposed/sold/hacked DNS resolver logs. The squatters got hold of DNS server logs, and auto-registered all unresolved domain queries. - Eavesdropping on unencrypted DNS traffic. Sniffing for unresolved DNS queries, and auto-registering them. All of these seem like a little unlikely, especially regarding why the squatter would hold onto the domain. Maybe that particular domain isn't worth it, but the ad revenue from the other 1000 domains they squat is worth it overall? Seems inefficient. Fifteen minute walk at lunch. Home: - More Golang notes Eh. Read some of the Little Go Book. http://openmymind.net/The-Little-Go-Book/ Hmm. Neovim is now in Debian's package system. The binary is `nvim`. $ mkdir -p ~/.config/nvim/colors $ mkdir -p ~/.config/nvim/spell $ ln -s ~/.vimrc ~/.config/nvim/init.vim $ ln -s ~/.vim/colors/paulg.vim ~/.config/nvim/colors/paulg.vim $ ln -s ~/.vim/spell/en.utf-8.add ~/.config/nvim/spell/en.utf-8.add Plugins can be written in any language. Lua and Ruby favored. Seems fine. One nice thing: it opens a URL (sftp) provided as a command line argument. https://github.com/neovim/neovim/wiki/FAQ Middle mouse button?! Added to `~/.config/nvim/init.vim`: set mouse="" In `.tmux.conf`: set -g escape-time 10 I don't know if there's anything in neovim that compels me to switch, but it's impressive that it's not broken in any major way. Breakfast: carrots, spinach, yogurt, coffee Lunch: Subway Dinner: chicken breast, baked beans, coleslaw

< ^ txt