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-11-2008, 11:50 AM   #1
finsh
Member
 
Registered: Jan 2006
Posts: 162

Rep: Reputation: 16
Dns and new ip how is it


Hi

I know my questions are many,
But there is wisdom says ask if you do not know.

Look for this code

[root@localhost ~]# host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 209.85.135.103
www.l.google.com has address 209.85.135.104
www.l.google.com has address 209.85.135.147
www.l.google.com has address 209.85.135.99
[root@localhost ~]#


This means that dns is works.


Now I want the dns takes IP addresses and hosts coming from dhcp because my dhcp knows all addresses and hosts in my networks.


That means any ip coming out from the dhcp my dns that should know it.
Thanks
 
Old 02-11-2008, 01:07 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What DNS server are you using to provide your service? You will need a way for the DHCP server to inform the DNS server. The ISC DHCPD and BIND DNS servers can do this together.
 
Old 02-11-2008, 01:19 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I'm taking a guess at your question; apologies if my guess is wrong.

Quote:
Originally Posted by finsh View Post
Hi

[root@localhost ~]# host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 209.85.135.103
www.l.google.com has address 209.85.135.104
www.l.google.com has address 209.85.135.147
www.l.google.com has address 209.85.135.99
[root@localhost ~]#


This means that dns is works.
Yes, this means that someone else's dns server works somewhere out on the wild internet. It also means that your network is set up to ask an external server for this information.
Quote:
Now I want the dns takes IP addresses and hosts coming from dhcp because my dhcp knows all addresses and hosts in my networks.

That means any ip coming out from the dhcp my dns that should know it.
This is where I am either confused about your question, or you have misunderstood:

DHCP has handed out ip addresses for your local machines
These are probably local addresses (for example, in the 192.168.x.y range). Even if you could let the external DNS know the mapping of these ip addresses, it wouldn't do any good as these are not routable on the wider internet and even then DNS would ignore them if you hadn't purchased the alphabetic names (i.e., www.google.com which you are unlikely to be able to purchase) in the normal way, because purchasing them in the normal way is what kicks off the process of adding them to the internet-wide database.

If, on the other hand, you want an internal dns system to work (only the mapping for internal machines and only available to internal machines), you have done nothing to prove that out by checking that external DNS entries are resolved correctly. That relies on an external server and this would require an internal one.
 
Old 02-12-2008, 02:01 AM   #4
finsh
Member
 
Registered: Jan 2006
Posts: 162

Original Poster
Rep: Reputation: 16
DHCPD and BIND DNS servers can do this together

Yes i have dhcpd and bind dns server.

But how they can do this together

____________________________________________
Mr.salasi
you want an internal dns system to work.

I know how to do that .
 
Old 02-12-2008, 07:18 AM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
A quick google for "dhcpd bind" reveals: http://my-mili.eu/matt/docs/dynamic-...cp-and-bind-9/
 
  


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
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
DNS Server: WinXP DNS clients losing name resolution frequently loopy69 Linux - Server 4 03-27-2007 09:21 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 09:04 AM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

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

All times are GMT -5. The time now is 08:22 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