Originally Posted by eponymous
... my domain, booksjamaica.com, will host both a website and the nameservers, ns1.booksjamaica.com and ns2.booksjamaica.com.
The domain registrar won't accept an IP address for the nameserver, but requires it in the format ns1.domain.com.
I realize from your posts that I have a circular dependency and need a "glue record". How do I create a glue record?
A "glue record" is also referred to as IPv6. Whoever has authority over your master domain, must have the glue record.
The situation you describe now is exactly the same as mine. My server's host name is also the host name of the name servers that point to the website on the same server. It will work. You might want to use dig to take a look at how I have the entries set up for the server versus one of my websites.
syntax: dig [the dns entry you are interested in] jpre.net that is the host and the domain for dns.
dig mx jpre.net
Try using the domain information groper "dig" on other websites as well.
Now ... one thing I would caution you about. Make sure you let your ISP (or whoever is selling you the internet space) to make sure the correctly enter "PTR" records for you so that when you get it all working you have both forward and reverse DNS.
For example: dig -x your.ip.add.ress to see the domain listed in PTR for your IP.
If both the A records and PTR records don't point to each other than some servers on the internet may not like your emails (in particular) and you will soon find that your server gets banned from other major servers that you might rely on for mail delivery and so forth.
Good luck. If you need more, I can post my setting as they work now later. Sounds like you are close.