LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   BIND directly resolve the hostname to internet (https://www.linuxquestions.org/questions/linux-server-73/bind-directly-resolve-the-hostname-to-internet-859947/)

cparapat 02-01-2011 04:37 AM

BIND directly resolve the hostname to internet
 
Is there away to resolve the hostname after creating a new subdomain. So we don't need to wait internet need some times to able to resolve the hostname. For example, if I add new subdomain to "test.example.com", I can directly ping to this hostname from internet. Is it possible ?
Thanks a lot for your answer.

bathory 02-01-2011 05:16 AM

Hi,

If you add a new subdomain, then you don't have to wait until the other name servers are updated. That is because the new record does not exist in their cache, so they have to query your dns that is authoritative for the domain in question.

Regards

cparapat 02-04-2011 03:15 AM

Quote:

Originally Posted by bathory (Post 4244462)
Hi,

If you add a new subdomain, then you don't have to wait until the other name servers are updated. That is because the new record does not exist in their cache, so they have to query your dns that is authoritative for the domain in question.

Regards

Thanks for your reply. But, if my ISP still not updating the cache, is there a manual way to update my DNS from computer's client ? example, restarting the avahi services. But, how come dns can do query to my new subdomain ? By contacting my new subdomain from users behavior (ie, users do ping to my new subdomain, etc). ?

bathory 02-04-2011 04:22 AM

Hi,

I've never used avahi, but from what I've read, it looks like its usage is limited inside a LAN.
If you add a new host in your domain and you want it to be accessible from the internet, you should add a record for that host in the domain's authoritative dns server. Since this is a new host (or subdomain if you prefer), it doesn't exist in any other name server cache, so if someone wants to access the new host, he has to query the authoritative dns directly (or through his ISP dns) and get the right answer.
This answer then remains in the querying name server cache, until the TTL expires (normally after 1 day), or until that dns is restarted.

Regards


All times are GMT -5. The time now is 03:19 PM.