Initial request to server extremely slow after longer periods of inactivity
opendaddy at hushmail.com
opendaddy at hushmail.com
Thu Apr 9 11:50:36 UTC 2015
On 9. april 2015 at 6:23 AM, "Jon Radel" <jon at radel.com> wrote:
>
>Something has gone semi-wrong with DNS and it works quickly when
>in a local cache and takes a long time to fetch when expired from the
>cache?
>Assuming you're using names for the connections.....
Yep, using names. I recently fixed my reverse DNS but to no avail.
I'm using NSD:
# cat nsd.conf
server:
ip4-only: yes
hide-version: yes
logfile: "/var/log/nsd.log"
zone:
name: "mydomain.com"
zonefile: "/usr/local/etc/nsd/mydomain.com"
notify: $FRIENDS_IP NOKEY
provide-xfr: $FRIENDS_IP NOKEY
# cat mydomain.com
$ORIGIN mydomain.com.
$TTL 3m
@ IN SOA ns.mydomain.com. od.mydomain.com. (
2013070501 1h 15m 1w 3m )
@ NS ns.mydomain.com.
@ NS ns.friendsdomain.com.
@ MX 10 mail.mydomain.com.
@ A $MY_IP
ns IN A $MY_IP
mail IN A $MY_IP
somename IN A $MY_IP
www IN CNAME mydomain.com.
Thanks!
O.D.
cc Terje Elde
>
>--Jon Radel
>jon at radel.com
More information about the freebsd-questions
mailing list