register DNS entry with dhclient

From: Zhang Weiwu (weiwuzhang_at_hotmail.com)
Date: 02/25/04

  • Next message: Andrea Venturoli: "Re: Bad loopback traffic not stopped by ipfw."
    To: freebsd-net@freebsd.org
    Date: Wed, 25 Feb 2004 22:28:34 +0800
    
    

    I have a ADSL modem (domain name: modem.lan) also acting as DNS/dhcp server
    (pretty smart toy). The Windows computers in the office, after boot up and
    requested an ip addresss, also registere a DNS name in the modem
    (netbiosname.lan), but FreeBSD and Linux computers don't register their DNS
    name. So everyday we keep asking "Jerry what's your ip address I need to
    scp a file ..." :(

    I thought it won't be difficult to let FreeBSD register domain name. after
    read the specific part of dhclient.conf(5), I created a /etc/dhclient.conf
    file:
    ------
    #my hostname is thinkpad.lan, 'lan' is our default search domain
    send fqdn.fqdn "thinkpad.lan";
    send fqdn.server-update on;
    ------
    Still my thinkpad runing FreeBSD 5.2 don't seem to have registered:
    zhangweiwu@thinkpad:~>nslookup windowsbox.lan
    Server: modem.lan
    Address: 10.0.0.138
     
    Non-authoritative answer:
    Name: windowsbox.lan
    Address: 10.0.0.6

    zhangweiwu@thinkpad:~>nslookup thinkpad.lan
    Server: modem.lan
    Address: 10.0.0.138
     
    *** modem.lan can't find thinkpad: Non-existent host/domain

    I am not sure of the mechnism in domain name registeration; I cannot debug
    it. Is there any obvious wrong operation I am taking?

    _________________________________________________________________
    与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Andrea Venturoli: "Re: Bad loopback traffic not stopped by ipfw."

    Relevant Pages

    • ASP: Get user login ID
      ... But when we register the dll on our web ... server, and call it from our ASP code, it generates an error. ... Dim lngCharsReturned As Long ...
      (microsoft.public.inetserver.iis.security)
    • Re: A record dynamic DNS registration failing depending on DHCP
      ... for clients. ... so I can assume that your server is using the default root hints. ... are only being registered in the Reverse Lookup Zone. ... recieved their IP from another DHCP server register their name under the ...
      (microsoft.public.windows.server.dns)
    • Re: Server-to-Server Remoting
      ... You can't send an object from server b that you got at ... unncessary as your making a client call and there is already a channel ... >My problem is that I can't figure out how to register and instantiate ... which is a subclass of BaseDataService called ...
      (microsoft.public.dotnet.framework.remoting)
    • Re: Boot Prbs in Win2K
      ... The server did not register with DCOM ... No attempts to start the service have been made since the last boot. ...
      (microsoft.public.win2000.setup)
    • Re: RACM local security authority problem.
      ... > The server is being used as a mail/internet server. ... Restart the computer. ... if I solve the error with the "Remote Access Connection ... Manager failed to start because it could not register with the local ...
      (microsoft.public.win2000.ras_routing)