NETLIFY DNS api

How does even dns api works i did everything i deployed site using api and also uploaded file using api but when it comes to configure dns i have now idea how to add dns to certain site the documentaion is not explaining anything as well what parameteres to pass as well please reply as soon as possible

@gitsaugat Please help us help you by writing a good post!

All issues: Provide your Netlify site name (e.g. gifted-antelope-58b104.netlify.app).

DNS or SSL issues: Tell us your custom domain(s) (e.g. mycustomdomain.com), and how long it has been since you made changes to your DNS (DNS changes can take up to 48 hours). We can’t help if we don’t know your domain.

The better the post = the faster we can help!