SBC dsl/PPPeE w/dynamic ip address & bad DNS records

From: Donald C. Coleman (don_at_coleman.org)
Date: 05/16/03

  • Next message: Eric Dahan: "PCI ADSL card"
    To: freebsd-isp@freebsd.org
    Date: Fri, 16 May 2003 13:11:56 -0700
    
    
    

    So I ran into a problem where the dynamic IP address I was handed
    by SBC had a DNS ptr record which referred to an A record which
    didn't exist (and the ptr record also had an error as it didn't
    follow the naming strategy obviously intended).

    ie: 216.71.175.64.in-addr.arpa ->
                            adsl-64-174-71-216.dsl.pltn13.pacbell.net.
                                      ^- the problem

    rather then adsl-64-175-71-216.dsl.pltn13.pacbell.net.
                          ^- the correct value

    and no A record exists for adsl-64-174-71-216.dsl.pltn13.pacbell.net.

    I won't bore you with the details of SBC's rudeness and lack of interest
    in fixing the problem -- basically, if you can browse, they think that
    is enough. The fact that some web-sites/internet services check for
    valid DNS records as part of their security policies, doesn't matter,
    let alone their violation of internet conventions/RFCs.

    Luckly, only a small number of their dynamic IP addresses have this problem.

    Below is my solution. I basically check at "link up" time that the DNS
    records are valid, and if not, signal ppp to drop the connection, and
    since my ppp is in "ddial" mode, it reestablishes the connection, and
    we check again, and, etc... I've never seen it have to do more then one
    retry.

    So folks won't have to re-invent the wheel, I've attached what I've done.

    I've also included my hooks for updating my "dynamic" domain name ip address.
    Delete/replace this with want you need.

    Put all these files in /etc/ppp.
    chmod a+x both the .sh files
    change the "sbc_yahoo:" line in the ppp.linkup file with your link name.
    change/delete dnsupdate.sh to fit your domain name update scheme, if you
    have one.

    
    
    

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



  • Next message: Eric Dahan: "PCI ADSL card"

    Relevant Pages

    • Re: Reverse DNS Issue
      ... > We currently host our own external DNS server with the ... > cannot do a Reverse DNS lookup on our domain. ... etc but can only have ONE PTR record ...
      (microsoft.public.win2000.dns)
    • Re: PTR Records and hosting our own mail
      ... Javier got you on the right track. ... Yes, we do have a PTR record, but it points ... >our IP addresses to point to our domain (prosoundusa dot ... DNS to send mail. ...
      (microsoft.public.windows.server.sbs)
    • RE: 550 Error: Helo command rejected: Host not found
      ... servers would check against their DNS to verify that the email from ... > Well, Reverse DNS is a bit tricky, since there can be multiple domains on 1 ... > Remember that the MX and A records work the other way than the PTR record. ... >>> Regards, ...
      (microsoft.public.exchange.admin)
    • Re: Event ID: 2012 / 2013 SMTPSVC [ANNOYING ANNOYING ANNOYING]
      ... Adding the PTR record did not help. ... HOTFIX HOTFIX HOTFIX........ ... > added the PTR record to DNS, ... >> I found the following in a prior support case. ...
      (microsoft.public.exchange.admin)
    • Re: Error 4.4.7 -
      ... I ran a reverse DNS test on what I assume is the domain name you are having ... the issue with and the results are you do not have a PTR record. ... It looks like you are trying to do a reverse DNS lookup improperly. ...
      (microsoft.public.exchange.admin)