Re: Microsoft "Dynamic DNS"
stan wrote: I have a situation at work, where I need a FreeBSD machine to be in the corporate DNS. We have been bought out, and the new owner says "no static DNS entries". They use some Microsoft technogly where the client machiens register thier names with the corprate DNS. My Windows laptop for instance, may get different IP addresses using DHCP depending on what physical location I connect it in. but it's always the same DNS name. Can anyone sugest where to look for information as to how this works, and how I cna make my FreeBSD machine participate in this? Stan, You may also have to set the option "dhcp-client-identifier" in the /etc/dhclient.conf file. The value should be the MAC address of the interface you are requesting the DHCP address on. I think this is something that the Microsoft DHCP server expects. E.g. interface "ep0" { send host-name "andare.fugue.com"; send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; } -mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
On Saturday 19 September 2009 22:06:03 stan wrote: > I have a situation at work, where I need a FreeBSD machine to be in the > corporate DNS. We have been bought out, and the new owner says "no static > DNS entries". They use some Microsoft technogly where the client machiens > register thier names with the corprate DNS. > > My Windows laptop for instance, may get different IP addresses using DHCP > depending on what physical location I connect it in. but it's always the > same DNS name. > > Can anyone sugest where to look for information as to how this works, and > how I cna make my FreeBSD machine participate in this? You don't need to do anything. By default, dhclient sends the hostname. Exception is when you don't have a hostname configured in /etc/rc.conf. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
On Sun, Sep 20, 2009 at 2:38 AM, Gary Gatten wrote: > I'm pretty sure DDNS is an RFC, I'm sure FBSD supports it. WINS is > different altogether. Yes, you are right. I learnt something new here :) So, I believe this is what we are looking at:- send { [option declaration] [, ... option declaration] } The send statement causes the client to send the specified options to the server with the specified values. These are full option declarations as described in dhcp-options(5). Options that are always sent in the DHCP protocol should not be specified here, except that the client can specify a dhcp-lease-time option other than the default requested lease time, which is two hours. The other obvious use for this statement is to send information to the server that will allow it to differentiate between this client and other clients or kinds of clients. So it would be something like send host-name "andare.fugue.com"; Taken from http://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&sektion=5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
stan wrote: > I have a situation at work, where I need a FreeBSD machine to be in the > corporate DNS. We have been bought out, and the new owner says "no static > DNS entries". They use some Microsoft technogly where the client machiens > register thier names with the corprate DNS. In a correctly configured $MS environment the DHCP servers and DNS servers are twins of each other. The DHCP server is what actually updates the DNS server's database. > My Windows laptop for instance, may get different IP addresses using DHCP > depending on what physical location I connect it in. but it's always the > same DNS name. > > Can anyone sugest where to look for information as to how this works, and > how I cna make my FreeBSD machine participate in this? > I did this once a long time ago after googling for a quick fix, Not sure I remember everything. IIRC it was putting an empty hostname in /etc/rc.conf like: hostname="" and something like the following in /etc/dhclient.conf: interface "em0" { send host-name "workstation"; } In Windows, the hostname would be the "machine name", and since you know it's always the same (as per above) sounds like you know the hostname. Substitute for your interface and hostname. The way this should work is your box does a "force send hostname" to the DHCP server and the DHCP server should update the DNS server. At least if the $MS boxen are setup correctly. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
I'm pretty sure DDNS is an RFC, I'm sure FBSD supports it. WINS is different altogether. - Original Message - From: owner-freebsd-questi...@freebsd.org To: Free BSD Questions list Sent: Sat Sep 19 15:32:16 2009 Subject: Re: Microsoft "Dynamic DNS" On Sun, Sep 20, 2009 at 1:36 AM, stan wrote: > My Windows laptop for instance, may get different IP addresses using DHCP > depending on what physical location I connect it in. but it's always the > same DNS name. > > Can anyone sugest where to look for information as to how this works, and > how I cna make my FreeBSD machine participate in this? Am not very familiar with it, but is it using WINS by any chance? No idea on how to get it working on FreeBSD though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
On Sun, Sep 20, 2009 at 1:36 AM, stan wrote: > My Windows laptop for instance, may get different IP addresses using DHCP > depending on what physical location I connect it in. but it's always the > same DNS name. > > Can anyone sugest where to look for information as to how this works, and > how I cna make my FreeBSD machine participate in this? Am not very familiar with it, but is it using WINS by any chance? No idea on how to get it working on FreeBSD though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
stan wrote: On Sat, Sep 19, 2009 at 04:06:03PM -0400, stan wrote: I have a situation at work, where I need a FreeBSD machine to be in the corporate DNS. We have been bought out, and the new owner says "no static DNS entries". They use some Microsoft technogly where the client machiens register thier names with the corprate DNS. My Windows laptop for instance, may get different IP addresses using DHCP depending on what physical location I connect it in. but it's always the same DNS name. Can anyone sugest where to look for information as to how this works, and how I cna make my FreeBSD machine participate in this? Following up to my own post. I have managed to get a wireshark capture of my Windows laptop doing a DHCP operation, including registering it's name with this DNS system. Can anyone tell me what I need to look for in this to better narow down how this is ebing done? Have you looked at dhclient.conf? There should be an option to send your client's host name available. --Joseph Lenox ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Microsoft "Dynamic DNS"
On Sat, Sep 19, 2009 at 04:06:03PM -0400, stan wrote: > I have a situation at work, where I need a FreeBSD machine to be in the > corporate DNS. We have been bought out, and the new owner says "no static > DNS entries". They use some Microsoft technogly where the client machiens > register thier names with the corprate DNS. > > My Windows laptop for instance, may get different IP addresses using DHCP > depending on what physical location I connect it in. but it's always the > same DNS name. > > Can anyone sugest where to look for information as to how this works, and > how I cna make my FreeBSD machine participate in this? > Following up to my own post. I have managed to get a wireshark capture of my Windows laptop doing a DHCP operation, including registering it's name with this DNS system. Can anyone tell me what I need to look for in this to better narow down how this is ebing done? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"