Solve slow DNS in HpCloud due to double reload on the website


I found something weird with my Bind in HPCloud which it’s working well in my EC2. After trying several experiment, I found the correct way to set bind in HPCloud. This is for example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;
; BIND data file for local loopback interface
;
$TTL    3600
@       IN      SOA     obroll.com. admin.obroll.com. (
                             30        ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
obroll.com  IN  A       15.185.178.20
@       IN      NS      ns1.obroll.com.
@       IN      A       15.185.178.20
ns1     IN      A       15.185.178.20
ns2     IN      A       15.185.178.20
www     IN      A       15.185.178.20

Yes, I put my domain name as first 🙂


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.