DNS, the Domain Name System, is the internet's address book. It turns a name people can
remember, such as example.com, into the address of the server that holds the website or receives
the email.
DNS answers are remembered (cached) by providers so they do not have to ask again. Each record has a TTL (time to live), the number of seconds an answer may be remembered. The records in cPanel's zone editor use 14,400 seconds (4 hours) by default. So after a change, some people see the new answer straight away and others see the old one until their provider's copy expires. Nameserver changes can take up to 24 hours to reach everyone.
To make a change faster, lower the TTL a day before you make it.
To see what a domain's records are right now:
bash
nslookup -type=A example.com
nslookup -type=MX example.com
nslookup -type=NS example.com
Replace example.com with your domain. Use A for the website address, MX for email and NS for the
nameservers.
If the result is not what you expect, the change may still be spreading (see above), or you may be editing the records somewhere that is not where your nameservers point.