LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-01-2011, 04:37 AM   #1
cparapat
LQ Newbie
 
Registered: Jun 2010
Location: Indonesia
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26

Rep: Reputation: 0
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.
 
Old 02-01-2011, 05:16 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.
 
Old 02-04-2011, 03:15 AM   #3
cparapat
LQ Newbie
 
Registered: Jun 2010
Location: Indonesia
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
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). ?
 
Old 02-04-2011, 04:22 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
  


Reply

Tags
bind, host, hostname, resolve



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to resolve hostname edgjerp Linux - Software 5 04-30-2008 05:28 PM
Resolve hostname from IP cornish Linux - Networking 10 10-10-2007 10:21 AM
resolve hostname linuxtesting2 Solaris / OpenSolaris 5 03-20-2007 12:27 AM
DNS bind cant resolve IP and hostname dwarf007 Linux - Software 1 01-14-2006 08:42 AM
Unable to resolve hostname adirock2 Linux - Networking 14 07-06-2005 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration