"If there are DNS entries in general settings, and I remove the WAN cable, local DNS is slow."
Give example of this.. So
If I query my local dns (pfsense) for a local address.
C:\Windows\System32>dig @192.168.1.253 i5-w7.local.lan
; <<>> DiG 9.9.1-P3 <<>> @192.168.1.253 i5-w7.local.lan
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49489
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;i5-w7.local.lan. IN A
;; ANSWER SECTION:
i5-w7.local.lan. 1 IN A 192.168.1.100
;; Query time: 5 msec
;; SERVER: 192.168.1.253#53(192.168.1.253)
;; WHEN: Mon Oct 08 02:02:40 2012
;; MSG SIZE rcvd: 49
how is it slow if your wan is down.. So I unplug connection from cable modem - pfsense has NO wan connection, and
C:\Windows\System32>dig @192.168.1.253 i5-w7.local.lan
; <<>> DiG 9.9.1-P3 <<>> @192.168.1.253 i5-w7.local.lan
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45643
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;i5-w7.local.lan. IN A
;; ANSWER SECTION:
i5-w7.local.lan. 1 IN A 192.168.1.100
;; Query time: 4 msec
;; SERVER: 192.168.1.253#53(192.168.1.253)
;; WHEN: Mon Oct 08 02:05:09 2012
;; MSG SIZE rcvd: 49
so asking for another address
C:\Windows\System32>dig @192.168.1.253 current.local.lan
; <<>> DiG 9.9.1-P3 <<>> @192.168.1.253 current.local.lan
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15888
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;current.local.lan. IN A
;; ANSWER SECTION:
current.local.lan. 1 IN A 192.168.1.220
;; Query time: 5 msec
;; SERVER: 192.168.1.253#53(192.168.1.253)
;; WHEN: Mon Oct 08 02:05:49 2012
;; MSG SIZE rcvd: 51
This is all with pfsense wan disconnected, except for the first query.. So show example where your slow.