I have several questions about dns. I have apache server on my computer and static ip and i bought domain. So when i enter in my browser blablabla.com , it redirects me to my site. Its ok. But i want to setup my own dns server on the same computer where i have my site. I set up bind9. Here are some questions:
- Should i buy two domain's, so there will be my dns server and is it necessarily that ns will look like ns1.blablabla.com or its ok if it is blublublu.com ?
- When i buy domain for my dns server, should i add record (on the site where i bought it)
@ A "mi ip where my site is
? - When i do this, i must enter ns(blublublu.com or ns1.blablabla.com) in site where i bought domain blablabla.com (my site) ? It will work because dns use 53 port, and apache use 80 port ?
- Did i correctly write db.blablabla.com int /etc/bind ?
$TTL 604800
@ IN SOA blablabla.com. root.blablabla.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN A 192.168.100.13
;
@ IN NS blublublu.com. (ns.blablabla.com) ??
@ IN A 192.168.100.13 ??? or there must be my static ip addresse ??
@ IN AAAA ::1
ns IN A 192.168.100.13