I’ve set up glue records on my domain which is hosted with namecheap and used custom dns to forward them to my custon namesevers, however I am still getting the following in my status.
Nameserver glue records are incorrect error
I have contacted namecheap support who have responded with the following:
According to our check, the Glues records "my 2 ns server names with IP address which are glued to them, have been registered properly. Before pointing any domain name to these DNS, please ensure that corresponding A Records for your private nameservers “ns1.box.domain.uk and ns2.box.domain.uk” are created on the side of the hosting provider. Otherwise, they will not be functioning and returning host records for your domain name.
I assume that mail-in-a-box already will have set these records up?
I have run sudo mailinabox and restarted my computer but still no joy.
## [mydomain.uk + DNS](https://gwhois.org/mydomain.uk+dns)
| --- | --- |
|Data Validation|Nominet was able to match the registrant's name and address against a 3rd party data source on 24-Jan-2021|
|Registrar|Namecheap, Inc. [Tag = NAMECHEAP-INC]
|Registered On|21-Feb-2021Sunday, February 21, 2021|
|Expiry Date|21-Feb-2023Tuesday, February 21, 2023|
|Last Updated|05-May-2021Wednesday, May 5, 2021|
|Registration Status|Registered until expiry date.|
|Name Servers|ns1.box.mydomain.uk "correct ip"
ns2.box.mydomain.uk "correct ip"|
|WHOIS lookup made at 16:40:12 05-May-2021|
mydomain.uk @**h.root-servers.net** (22.214.171.124)
Failed to resolve the following nameservers: **[ns1.box.mydomain.uk](https://gwhois.org/dns/ns1.box.mydomain.uk)**, **[ns2.box.mydomain.uk](https://gwhois.org/dns/ns2.box.mydomain.uk)**
Starting Nmap 7.80 ( https://nmap.org ) at 2021-05-05 17:19 BST
Nmap scan report for mydomain.uk (*.*.*.*)
Host is up (0.0012s latency).
Not shown: 92 filtered ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
443/tcp open https
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
Nmap done: 1 IP address (1 host up) scanned in 1.86 seconds