LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2004, 09:19 AM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
DNS is used for which application in LAN ?


Is it ok that DNS is used for name to ip and ip to named resolution
but
For which application a DNS is used in a LAN,

I think it can used for NFS, SAMBA or ... or any other tell me ?

And specifically in which application it is required for ip to name resolution ?

Am i right or not....
 
Old 10-12-2004, 10:18 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
dns - domain name service

like you allready know it's for mapping ip's to hostnames.
it's an service every tcp/ip machine will use to do so and is for general (not related to another service).

if a request that should be send to, let's say, willie.the.pimp the tcp layer will send a request to an dns-server to resolve this to an valid ipaddress and then use this address to actually connect to willie.

sl mritch.
 
Old 10-12-2004, 11:17 PM   #3
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
@mritch

Did u understood my question ?



-jack
 
Old 10-12-2004, 11:18 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
All applications can use it.
 
Old 10-12-2004, 11:24 PM   #5
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
For example which applications can use it ?

And how . plz tell me !



-jack
 
Old 10-13-2004, 12:38 AM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
did you unterstood my answer?;-)

i'll try again:

dns was developed from the early ARPAnet (~ '69) where a simple hosts.txt (think of i like the /etc/hosts file) did the translation from machine names to their corresponding (a 32bit binary number) address.

in the eighties there where more and more computers connected and maintaing hosts.txt-files became a horror. dns was born.

i'd say:
every service that's working with a tcp/ip network and is able to speak with a resolver (rather think of the resolver more like a library) may use this function with the aim to do what you allready know: get a ip-address for the (for humans easier to recognize) na.m.e of that host.

the only application really works with the specific mechanism (dns) is
-the server (named/bind,dns-forwarders) on the knowing side and
-the client (nslookup/dig/host,resolver) on the other.

a lot of programs like mta's, browsers,... use dns but actually only communicate with the local resolver - they don't connect the dns-server directly.

google for "dns" and you'll sure find lot of information.

sl mritch.
 
  


Reply



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
two lan, one dns nmarmol Linux - Networking 1 09-08-2005 09:38 PM
Lan Dns reggie Linux - Networking 2 08-03-2004 08:05 PM
Why does Linux do a DNS lookup everytime I start an application? Bandhel Linux - Networking 2 02-23-2004 07:08 AM
Why does Mandrake do a DNS lookup everytime I start an application? Bandhel Mandriva 1 02-23-2004 05:17 AM
Lan DNS Null Linux - Software 1 12-10-2002 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:16 PM.

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