Dynamic DNS.

pottee_at_comcast.net
Date: 09/30/03

  • Next message: Maurer, Justin: "ProLiant DL380 Frequent Lock-ups - SCSI driver?"
    To: redhat-list@redhat.com
    Date: Tue, 30 Sep 2003 19:59:31 +0000
    
    

    Hey all.

    I have a RH 9.0 box being used as a router for my house and my cable ISP uses
    DHCP to assign my front end address. Over the last few days, I've been
    building/digging and piecing bits of info together (NAT, ip_forward, ipchains,
    etc.) and have the thing working pretty well. I have 2 questions however.

    1) As my front end IP is dynamically assigned, it can make it tough to maintain
    an accurate DNS entry. W/ Zoneedit, I'm able to do the following:

    wget -O - --http-user=username --http-
    passwd=password 'http://dynamic.zoneedit.com/auth/dynamic.html?
    host=www.mydomain.com'

    This will set the IP of the record to whatever machine is running the above
    command. The problem is I don't know where to put that so that when eth0
    requests a new lease, it runs the above command. The man page for dhclient and
    dhcp.conf talks about "hooks". But this seems dangerously close to
    programming. Which I wouldn't be adverse to if I knew what the hell I was
    doing. Other research shows something about a dhcpcd.eth0 file existing
    in /etc. If it exists, the contents are executed as part of /sbin/ifcfg eth0
    up (or similar command). However, the man pages for my version of dhclient
    don't mention a thing. I expect that this is a common enough occurance. And
    I'm sure I could put something in /etc/sysconfig or /etc/init.d or whatever.
    But I expect that someone has already thought about this and it's simply a
    matter of running a single command or putting the above command in a script
    that is already designed to handle this. It just currently doesn't seem to be
    obvious to me.

    2) I'm very new to the whole iptables thing. I was able to set up ipmasq ok.
    Persistance paid off there. Couple of links from Google or Red Hat and reading
    through appropriate parts of the RH9 ref manual introduced me to '/sbin/service
    iptables save' (for the firewall rule) and the /etc/sysctl.conf file to turn on
    ip_forward. And walla (or viola for culters outside of Utah) it works. Except
    for my VPN Software. My company uses the Cisco VPN SW v 3.51. Which uses
    IPSec I believe. Can someone point me in the right direction on setting up an
    iptable rule to enable this from the inside out?

    Thanx in advace for taking the time to read this,
    Earl

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Maurer, Justin: "ProLiant DL380 Frequent Lock-ups - SCSI driver?"

    Relevant Pages

    • Re: IPTABLES
      ... > I need to setup the firewall IPTABLES on CentOS. ... You set up the firewall using command line commands. ... > allow to acces FROM the LAN only to a computer with MAC ADRESS xxxxxx. ...
      (comp.os.linux.setup)
    • Re: Odd tcp dump? was: ssh working with dialup, not through router
      ... and try to run the iptables command you ... debug3: tty_make_modes: 91 1 ... debug1: fd 3 setting TCP_NODELAY ...
      (Fedora)
    • Re: Blocking incoming IP address immediately
      ... > iptables service, it continues to let him stay in. ... This does the same thing as your rules-save command, ... "Roger Wilco" game are one and the same machine??? ...
      (comp.os.linux.security)
    • Re: RPM problem on FC3/x86_64
      ... Now it's downloading and upgrades. ... > What's with the command line rpm? ...
      (Fedora)
    • Re: Ssh/Rsh problems
      ... Turned out to be the IPTables firewall service ... Modify your IPTables rules or simply switch it off with 'service ... > I am encountering problems with both ssh and rsh, ... > When I attempt to run a command on a remote machine via ssh, ...
      (comp.os.linux.security)