Page 125 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 125

Unit 6: Domain Name System





          login=bgates                                                                          notes
          password=luvlinux
          your-debian-box-hostname.dyndns.org

          Note that this file point to the ppp0 (dialup modem) interface was entered during the installation
          rather than the ‘eth0’ that you would use for a network card.
          If your server is behind a cable/DSL router (such as a Linksys, DLink, or Netgear) or a few other
          type of firewall or proxy server, replace the line:
          use=if, if=ppp0
          with the line:
          use=web, web=checkip.dyndns.com/, web-skip=’ Current IP Address:’




             Note     This basically uses a page on dyndns.org’s Web site to display your ‘outside’
             IP address. The ddclient software will read the IP address off the returned HTML code.

          installing ddclient

          Before installing this package is sure to sign up for an account with EasyDNS or dyndns.org.
          You’ll require your account username and password when you install the package. With your
          account set up you install the package by typing in apt-get install ddclient at the shell prompt.
          You’ll then be prompted for the following:
          1.   Select the service you want to use.
          2.   The  next  screen  may  appear  confusing  if  you  selected  EasyDNS  in  Step  1  because  it
               prompts you for “your DynDNS fully qualified domain names” and then gives examples
               for dyndns.org. What they mean by the “DynDNS” is “Dynamic DNS”, not “DynDNS.
               org”. The “fully qualified” is also a bit misleading. You don’t need to enter a trailing period
               after the TLD (.com, .net, or .org Top Level Domain). All you need to do is enter your
               server’s hostname followed by your, or dyndns.org’s, domain name. Examples:
               debian.gates.com
               or
               very-unique-hostname.dyndns.org

          3.   Enter the username you choose when you signed up with your service.
          4.   Enter the password you choose when you signed up with your service.
          5.   Enter the interface that will be connecting to the service. This will most likely be ‘eth0’ for
               an ethernet card (even if it is connected to a LAN which has a firewall router) or ‘ppp0’ for
               modem use (note that that’s a zero on the end, not the letter O).
          6.   If you entered ‘ppp0’ you’ll be requested if you want ddcleint to run automatically every
               time you connect. You may want to select No here so you have the option of running it or
               not.
          7.   You’ll then be asked if you want to run ddclient as a daemon. If this server is going to be
               a full-time Web or e-mail server with a broadband connection you should answer Yes to
               this.







                                           LoveLy professionaL university                                   119
   120   121   122   123   124   125   126   127   128   129   130