Posts tagged dns

How do I Flush DNS?

0

If  you change your domains DNS settings it may take up to 24hours to propagate across the internet.

Sometimes the OLD DNS entry will be cached and you will need to either flush the DNS cache to get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically.

To do this in windows click on Start=>Run

then type: cmd

in the black window type:

ipconfig /flushdns
Press enter.

If you get an error saying:

Need Elevation
1. Click Start or Windows logo at the bottom left corner of the screen
 2. Click All Programs
 3. Click Accessories
 4. RIGHT-click on Command Prompt
 5. Select Run As Administrator
 6. In the command window type the following and then hit enter:  ipconfig /flushdns
 7. You will see the following confirmation:
Windows IP Configuration Successfully flushed the DNS Resolver Cache.
If you get an error msg saying: " Windows IP Configuration Could not flush the DNS Resolver Cache: Function failed during execution." Go to: Start>> Control Panel >> Administrative Tools >> Services (Open services) 2 in the list find: " DNS Client" right click >> Properties >> Change "Start up Type" to automatic >> Click Start Now you should be able to flush your dns. 3 After done make sure you put back DNS Client to disabled.

Setting up DNS on VPS

1

So here I move to godaddy.com VPS. To transfer my domain I need to set up name servers..

I have Plesk control panel but it should be similar with other control panels..

Plesk gives you some default name servers but one of the requirements from my domain registrar ( I have a foreign domain and no access to change my own dns servers) was to have TWO dns servers.

Luckily Godaddy.com give 3 IP addresses for VPS. So you need to add at least one more.. then..
Under:
plesk->homepage->yourdomain->DNS zone management
1-Delete the current NS record in your dns zone
So delete:
YourDomain.com A YourIP
YourDomain.com NS NS.YourDomain.com

2-Add two A records for nameservers, like:

ns1.YourDomain.com IN A yourFirstIP
ns2.YourDomain.com IN A yoursecondIP

3-Add two new NS records like:
YourDomain.com IN NS ns1.Yourdoamin.com
YourDomain.com IN NS ns2.Yourdoamin.com

Hope this information was useful.

Go to Top