We’re trying to replicate something that Windows servers can do. Basically on a Windows box, you can give it a static IP address, but there is an option to have it update the DNS server with it’s IP and hostname. We are trying to do this on SUSE 11.
I know I can get this function to work on SUSE if the box is set up as with DHCP. What we’re having difficulty is when the server is set up as a Static IP to get it to update the DNS server.
Hello, do you have the dns server or not? what are you trying to do is host a website on a dynamic ip address and update the dns records after the server changes the ip am I right?
Basically we have an internal DNS server at our work. We just want to interface with it like Windows boxes do. The box is internal and has a static ip address that won’t change. We just want to take out the part where you have to update the DNS manually, since Windows boxes do not need to.
Typically it is not the client’s job to register itself with DNS since
that implies a lack of security (what prevents somebody from registering
anything they want against the admin’s wishes?). There are things such as
Dynamic DNS (DDNS) but those are typically implemented by DHCP servers,
not clients, and then the server alone has rights to modify DNS on the
fly. For static IP addresses (which I interpret to mean the IP address is
always assigned to a single host that, coincidentally, always has the same
name in DNS) you just modify the DNS records to refer to those IP
addresses. This is done by an administrator, not by individual machines,
since admins have rights to do so and random machines on the network do not.
I’ve never heard of this in windows-land… have a link? Maybe you have
noticed that you can access a host by its short name which has nothing to
do with DNS and I believe is a function of WINS.
Good luck.
On 04/05/2011 08:36 AM, doyama wrote:
>
> Hello All
>
> We’re trying to replicate something that Windows servers can do.
> Basically on a Windows box, you can give it a static IP address, but
> there is an option to have it update the DNS server with it’s IP and
> hostname. We are trying to do this on SUSE 11.
>
> I know I can get this function to work on SUSE if the box is set up as
> with DHCP. What we’re having difficulty is when the server is set up as
> a Static IP to get it to update the DNS server.
>
> Any feedback on this would be helpful.
>
> Thanks,
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
How Windows Server 2003-based computers update their DNS names
By default, computers that run Windows Server 2003 and that are statically configured for TCP/IP try to dynamically register host address (A) and pointer (PTR) resource records for IP addresses that are configured and used by their installed network connections. By default, all computer register records are based on the full computer name.
For Windows Server 2003-based computers, the primary full computer name is a fully qualified domain name (FQDN). Additionally, the primary full computer name is the primary DNS suffix of the computer that is appended to the computer name. To determine the primary DNS suffix of the computer and the computer name, right-click My Computer, click Properties, and then click Computer Name.
Eventually we’re trying to go towards secure DNS updates but this is our ‘step 1 of 1000’. Just trying to keep our Linux hosts in line with out the Windows hosts operate.
doyama wrote:
> Just for reference here is how Windows computers generally work
>
> ‘How to configure DNS dynamic updates in Windows Server 2003’
> (http://support.microsoft.com/kb/816592)
Agreed… this assumes NO security on your DNS server since literally any
machine can update the records. Terrible option… not surprised it’s the
microsoft default.
Good luck.
On 04/05/2011 09:58 AM, Dave Howorth wrote:
> doyama wrote:
>> Just for reference here is how Windows computers generally work
>>
>> ‘How to configure DNS dynamic updates in Windows Server 2003’
>> (http://support.microsoft.com/kb/816592)
>
> Hmm, that reference mentions “(RFC) 2136”. The first hit in google when
> I search for RFC-2136 is
> http://www.oreillynet.com/linux/cmd/cmd.csp?path=n/nsupdate
>
> Perhaps nsupdate is what you want.
>
> But I think you’re mad to go down that path
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
On 04/05/2011 06:13 PM, ab wrote:
>
> not surprised it’s the microsoft default.
exactly.
–
CAVEAT: http://is.gd/bpoMD [NNTP via openSUSE 11.3 + KDE4.5.5 +
Thunderbird3.1.8] Can you believe it? This guy Ralph wins $181 million
in the lottery last Wednesday, and then finds the love of his life just
2 days later. Talk about LUCK!