Results 1 to 9 of 9

Thread: Register DNS entry with Static IP

  1. #1

    Default Register DNS entry with Static IP

    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,

  2. #2
    Join Date
    Aug 2009
    Location
    Romania
    Posts
    35

    Default Re: Register DNS entry with Static IP

    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?
    openSUSE 12.3 | Intel C2D | 4G DDR2 ECC | KDE 4.9
    http://oc.masteraffairs.ro

  3. #3

    Default Re: Register DNS entry with Static IP

    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.

  4. #4

    Default Re: Register DNS entry with Static IP

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    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/

    iQIcBAEBAgAGBQJNmyv5AAoJEF+XTK08PnB577EQALTCBtkg7Q3VHgf7dRjPyqfk
    fVSACqo4LyzAVhV6R7NwCi+9rpVAg/Z18gln1LWH30JWZy4pjVzk6tu31ivZ9+u2
    Qic6kfJLKU/TzX0xc5cfurJJSEh3VDqVEHA+w1x/SH5hamTLhci1NbktGKCOMDCJ
    ZAxWehc/t8EzQgNfRUdJqHl6sB7t5MqRbduIz0cj+5ONeFmGMjJZvXkuobYxrddr
    yAS+f+8fOEKJRYVKjQlIcxHHNiY9zO3Z47Kr5POwizoocjJ853lpwFRDjyPTvnE+
    U9IbX7BVlIAm1ittdpuPw+4Jkhi9//gw/Zxfb7LfsKZdVkb++ffOlZ1OAS/AfSKN
    dcPV3JQtPmNEvbXXZatMR5i0ESWXLtZ53iAZfYELDaVkgFWIyyWRsrgbIbGuO60q
    EWM1ym7sLtmPj/hfRwotXKfc41fnh2ozD3YCiBEC9XDlpnlzMjENc/bt+fotXCVb
    97Dr5DhvUghExXfZwP5FIkTIwgrZyidMpwuLR6IYmku5BTvM9zi0G9iUlted1s5L
    9jhCEgx/GQBsh61v3aoPhR4ZeMkKemVEBamYztvXTGljfL5IenNeFzysiA41yObF
    kfC9d2lenADE8d4Jf+/XOA+Vtadqouvu1TDtI02u9pDfolDIqEobSwoGYu0TaySS
    RppZMUWbYIa9CokMfE9R
    =navU
    -----END PGP SIGNATURE-----

  5. #5
    Join Date
    Aug 2009
    Location
    Romania
    Posts
    35

    Default Re: Register DNS entry with Static IP

    Doyama I don't understand what are you trying to do there... why do you have an internal DNS server ? Give more details
    openSUSE 12.3 | Intel C2D | 4G DDR2 ECC | KDE 4.9
    http://oc.masteraffairs.ro

  6. #6

    Default Re: Register DNS entry with Static IP

    Just for reference here is how Windows computers generally work

    How to configure DNS dynamic updates in Windows Server 2003

    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.

  7. #7

    Default Re: Register DNS entry with Static IP

    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/...ath=n/nsupdate

    Perhaps nsupdate is what you want.

    But I think you're mad to go down that path

  8. #8

    Default Re: Register DNS entry with Static IP

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    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/...ath=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/

    iQIcBAEBAgAGBQJNmz+gAAoJEF+XTK08PnB522oP/15+HyGdN4E7S0swopD7dMTh
    Yho28URCXDspX1zWVzEOWG8PW5CFtBWYdFkGF8kLtgNsTBgtyDpz2IkpwPHdyEG7
    6OxLrYhNmlDhQrvlbJVO/dbtgRJilswfAlV09i/Zx8g1AzXIvOqweFXF8yjhLjSh
    uoAC3oj5maLxHTNoOXWaaPZW8OtN9/GCCu1BcQ44wIl73QjmNH0VluvYXqHvN8A/
    PHIjrOOoGxP56YsAOb/roFEiUsqcpN+IcBBHzpdBGhchqtBiT+raDzeo4v0eN8K1
    Db97OB3i1zl2KQD5XQE99Jxg+S4K6MYm5sXRF6rAuOeoN9RSsZwe5J7A+3LfCVta
    ar5rPGcdHE+JTRUZOgggVCJ1BPZC4M9SNvRetLaD5E/UJrPVhViY0kWaG7j63nNi
    vHaXBXi3XkaRukncS4w1z1Udi5k9SCroHpJ8m+UQXJbths8k6kc3yZoTmOq3RBxC
    qzFL/ry2zDH20DwLAKCv2+NVnGnyKoE/0VJv0/+QF+8dcu8H6vr4kpF6Yl5HdUTX
    0Y+Lh9L1UHqJ5VpFqw/vwNcyS1uiwt4NCfUY0/4IaRhBGEnyixBgxJhM8biXbJkh
    zoYlGELzJAYmcLH3zFeQeByXe8ExOROZxc14GLewmACSgNXifGiv3u/BZ0AdaVB3
    afDZFt4c8KaQdV/rny8r
    =onSz
    -----END PGP SIGNATURE-----

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Register DNS entry with Static IP

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •