Networking Fixes

SSH hungs when connecting

The router may choke on a TOS field (type of service) in the traffic. Try piping through nc, which strips the TOS

ssh -o "ProxyCommand nc %h %p" {user-name}@{server}

If that works the permanent solution is to add "ProxyCommand nc %h %p" to ~/.ssh/config

DNS is not resolving correctly

Ask each server in the chain for the domain name:


dig www.domain.net

; <<>> DiG 9.2.1 <<>> www.domain.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 34065
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.domain.net.       IN      A

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN:
;; MSG SIZE  rcvd: 41

$ dig net

; <<>> DiG 9.2.1 <<>> net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18479
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;net.                           IN      A

;; AUTHORITY SECTION:
net.                    10800   IN      SOA     a.gtld-servers.net.
nstld.verisign-grs.com. 1102635256 1800 900 604800 900

;; Query time: 745 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: 
;; MSG SIZE  rcvd: 94



$ dig www.domain.net @a.gtld-servers.net

; <<>> DiG 9.2.1 <<>> www.domain.net @a.gtld-servers.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35169
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;www.domain.net.           IN      A

;; AUTHORITY SECTION:
www.domain.net.    172800  IN      NS      ns01.hoster.com.

;; Query time: 275 msec
;; SERVER: 192.5.6.30#53(a.gtld-servers.net)
;; WHEN: 
;; MSG SIZE  rcvd: 91

$ dig www.domain.net @ns01.hoster.com

; <<>> DiG 9.2.1 <<>> www.domain.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 34065
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.domain.net.       IN      A

;; Query time: 275 msec
;; SERVER: 192.5.6.30#53(ns01.hoster.com)
;; WHEN: 
;; MSG SIZE  rcvd: 91


@Troubleshooting @Networking