Re: Microsoft Dynamic DNS

2009-09-22 Thread Mark Willson

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

2009-09-20 Thread Mehul Ved
On Sun, Sep 20, 2009 at 2:38 AM, Gary Gatten ggat...@waddell.com 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.confsektion=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

2009-09-20 Thread Mel Flynn
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


Microsoft Dynamic DNS

2009-09-19 Thread stan
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?


-- 
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


Re: Microsoft Dynamic DNS

2009-09-19 Thread stan
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


Re: Microsoft Dynamic DNS

2009-09-19 Thread LoH

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

2009-09-19 Thread Mehul Ved
On Sun, Sep 20, 2009 at 1:36 AM, stan st...@panix.com 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

2009-09-19 Thread Gary Gatten
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 owner-freebsd-questi...@freebsd.org
To: Free BSD Questions list freebsd-questions@freebsd.org
Sent: Sat Sep 19 15:32:16 2009
Subject: Re: Microsoft Dynamic DNS

On Sun, Sep 20, 2009 at 1:36 AM, stan st...@panix.com 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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
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.
/font

___
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

2009-09-19 Thread Michael Powell
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