Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-01-2011, 04:37 AM
|
#1
|
LQ Newbie
Registered: Jun 2010
Location: Indonesia
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26
Rep:
|
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.
|
|
|
02-01-2011, 05:16 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,223
|
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
Last edited by bathory; 02-01-2011 at 05:22 AM.
|
|
|
02-04-2011, 03:15 AM
|
#3
|
LQ Newbie
Registered: Jun 2010
Location: Indonesia
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by bathory
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). ?
|
|
|
02-04-2011, 04:22 AM
|
#4
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,223
|
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 07:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|