Better HN
topnewbestaskshowjobs
Log inSign up

doubleukay2

2 karma · joined Dec 19, 2009 (16y ago) · 3 submissions

Submissions

comment 16y ago · link · parent

A really useful thing I use with ssh and netcat is to forward SSH connections through a bastion host like this - http://backdrift.org/transparent-proxy-with-ssh

It looks like netcat can be substituted with the openssh 5.4 builtin.

comment 16y ago · link · parent

I use "ping -a localhost" to annoy myself when a job finishes.

comment 16y ago · link · parent

"SRV records dont store IP addresses, they store names. So the browser does a SRV req, orders by priority and weight, picks one, then does an A lookup and attempts connection."

Not necessarily in this case. The DNS server can provide the A record in the Additional Section. Lookups returning hostname-based records e.g. MX/NS/CNAME records benefit from this too. Until it exceeds the UDP reply size limit of course.

But if a SRV record doesn't exist, then the result of an A lookup needs to be used. That A lookup is done sequentially or in parallel (think of how dual-stack browsers handle of AAAA/A lookups).