Operating System - HP-UX
1832880 Members
2623 Online
110048 Solutions
New Discussion

Re: Windows DHCP and HP-UX DNS

 
mvr
Regular Advisor

Windows DHCP and HP-UX DNS

I would need to configure my Linux (for testing, final implementation would be on HP-UX) DNS to be automatically updated from the Windows 2000 server DHCP.
What changes do I need to make in my named.conf and how does the Windows DHCP need to be setup in order to automatically send the information to the Linux DNS?

Miro
15 REPLIES 15
Alexander M. Ermes
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Hi there.
Give your Linux / ( whatever Unix machine )
a static IP-address from the Win machine.
This will make your live a bit easier.
Set your nic's to these IP-addresses.
OR : make your Unix machine the DNS / dhcp machine.

On HP-UX you might find some software, taht needs a fix IP-address for licencing.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
mvr
Regular Advisor

Re: Windows DHCP and HP-UX DNS

Does DNS for the HP-UX 11i support automatic update form the HP-UX 11i DHCP?

Miro
Rainer von Bongartz
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Miro,

Yes it does but you will need a line like this in your named.conf file

allow-update {A.B.C.D;}

where A.B.C.D is the IP-Address of your DHCP server.

I strongly recommend not to use the HP DHCP server as it has some kind of flaws .

The best advice I can give you is to download the ISC dhcp server from www.isc.org. It is availabe for LINUX and UNIX and you could bild a complete DDNS/DHCP environement on LINUX and later transfer it to HP-UX.

Regards
Rainer


He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Alexander M. Ermes
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Hi there.
Rainer is right.
His idea is a good solution.
Rgds
Alexander M. Ermes
p.s.
no points pls for this
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Sachin Patel
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Hi Miro,

I will suggest do not use any kind of secure update initially. once you have simple setup going then try security.

1. You DHCP (win2k) should have dns server as your linux system.

2. Then in your linux system you use option allow-update {any;}; just for testing.

section of named.conf file
zone "galaxy.com" {
type master;
file "hosts.galaxy.com";
allow-update {any;};
};

3. Start the named.
4. Now try to add dhcp client you will see .jnl file in your data directory on linux system.
5. Try to resolv the name from linux server.

Hi Miro, please don't give me 10 point like you did on linux forum. I feel embarrass.
Ya sure give me 100 if your problem is solved.

Thanks
Sachin


Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Forget to tell you about DHCP client.

right click on my network-localarea properties- tcpIP- properties-advance-DNS- and click on "Register this connections addresses in dns"

Then only your client will try to register your IP to server.

Sachin
Is photography a hobby or another way to spend $
harry d brown jr
Honored Contributor

Re: Windows DHCP and HP-UX DNS


Can someone elaborate on what kind of flaws DHCP has on HPUX??

We used it for years in 10.20 and 11.00 for almost 8,000 devices - PC's & Xterms.

If it wasn't for (A)rchane (D)irection ... I mean active directory, then we'd still be using an HP server for DHCP.

And OH boy, allowing a M$ device to UPDATE DNS, wow, now that's a security issue! I hope you don't have any .rhosts trusted systems because a M$ client can change their IP and device name to static and register it with DNS, so make sure you follow the advice to put allow-update rules in named.conf for only your M$ DHCP server!

live free or die
harry
Live Free or Die
Rainer von Bongartz
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Harry,

did you ever use bootpd with DDNS to support DHCP requests from LAPTOPS roaming through different subnets of your organisation ??

Don't do it !!!!

you will most likely end up with multiple DNS records for your devices as bootpd does not correctly remove the DNS entry before assigning a new one in a different subnet.

I have a bootp with site-specific patch from HP for this problem but the implementation is way behind the one from ISC.

There is absolutely no problem with the IP leases, it's only the DDNS capability that's not working the way it should.


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Rainer von Bongartz
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Harry,

did you ever use bootpd with DDNS to support DHCP requests from LAPTOPS roaming through different subnets of your organisation ??

Don't do it !!!!

you will most likely end up with multiple DNS records for your devices as bootpd does not correctly remove the DNS entry before assigning a new one in a different subnet.

I have a bootp with site-specific patch from HP for this problem but the implementation is way behind the one from ISC.

There is absolutely no problem with the IP leases, it's only the DDNS capability that's not working the way it should.


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Rainer von Bongartz
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Harry,

did you ever use bootpd with DDNS to support DHCP requests from LAPTOPS roaming through different subnets of your organisation ??

Don't do it !!!!

you will most likely end up with multiple DNS records for your devices as bootpd does not correctly remove the DNS entry before assigning a new one in a different subnet.

I have a bootp with site-specific patch from HP for this problem but the implementation is way behind the one from ISC.

There is absolutely no problem with the IP leases, it's only the DDNS capability that's not working the way it should.


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Rainer von Bongartz
Honored Contributor

Re: Windows DHCP and HP-UX DNS

Harry,

did you ever use bootpd with DDNS to support DHCP requests from LAPTOPS roaming through different subnets of your organisation ??

Don't do it !!!!

you will most likely end up with multiple DNS records for your devices as bootpd does not correctly remove the DNS entry before assigning a new one in a different subnet.

I have a bootp with site-specific patch from HP for this problem but the implementation is way behind the one from ISC.

There is absolutely no problem with the IP leases, it's only the DDNS capability that's not working the way it should.


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Rainer von Bongartz
Honored Contributor

Re: Windows DHCP and HP-UX DNS

What the heck is going on here.
I definitly posted the above only once!!!
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Tim Sanko
Trusted Contributor

Re: Windows DHCP and HP-UX DNS

You should Thank God that this is the networking forum. I can tell you you are seeing the results of Packet reflection!!!

Tim
Sachin Patel
Honored Contributor

Re: Windows DHCP and HP-UX DNS

ITRC is slow in last few days.

When you hit submit wait for a minute or so it will submit it.


Sachin
Is photography a hobby or another way to spend $
Tim Sanko
Trusted Contributor

Re: Windows DHCP and HP-UX DNS

I who only use Keyboard have seen the effects of the packet reflection on my sniffer...

tjs