Using Dynamic IP address with DDNS

Discussion in 'General' started by Beastcave, Jun 20, 2007.

  1. Beastcave

    Beastcave New Member

    Hello

    I'm curious if there is anything that I could learn how to configure my ispconfig with my TZO.com account because I do not have static IP. Any help would be appreciated.

    B :confused:
    Newbie to Linux and ISPConfig
    Linux Dist: Ubuntu (Using the perfect setup Ubuntu 6.10 server)
    ISPConfig - 2.2.13
     
  2. mtuser

    mtuser New Member

    I'm using dnsexit and zoneedit for my domain.
    dyndns.org works with ispconfig also.

    I never use TZO.com before.

    All you need only some dynamic ip program update.
    set all of ISPconfig 's LAN IP only. You can't use dns manager as full feature.
     
    Last edited: Jun 20, 2007
  3. Beastcave

    Beastcave New Member

    All I wanted for this to work are web, ftp and email.
    Web works fine..
    FTP works fine..
    Email doesn't work so I'm wondering since you said that I can't use DNS manager which I need to create MX for email? Should I use TZO's outbound mail relay for this?

    According to their site (solution for sendmail)) is to put this "define('SMART_HOST','omr.tzo.com') in sendmail.mc but I'm using postfix. Where do I edit this?

    B
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. Beastcave

    Beastcave New Member

    Thanks Till,

    I'm able to send out any emails now by using the relay host setup. My ISP blocks 25. Grr! I'll attempt to try if I can use other ports by modify the smtp settings.

    Now I have one more left to do which is how to make it work so that I can receive email on my server.

    I have created MX acct at Tzo.com for mail.mydomain.com and still my server doesn't pick up any emails.

    Can ya help?
    Many Thanks.
    B
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe port 25 is also bloked for incoming emails. Please check that the MX record of your domain points to the external IP address of your router and that you forwarded port 25 from your router to your server.
     
  7. Beastcave

    Beastcave New Member

    Checked with TZo.Com
    MX record
    mail.beast-aslog.ca 10
    Domain Name IP Address
    beast-aslog.ca 24.36.143.153

    My Router settings
    Code:
    Allow	Virtual Server HTTP	WAN,*	LAN,192.168.0.100	TCP,80	
    Allow	Virtual Server HTTPS	WAN,*	LAN,192.168.0.100	TCP,443	
    Allow	Virtual Server DNS	WAN,*	LAN,192.168.0.100	UDP,53	
    Allow	Virtual Server SMTP	WAN,*	LAN,192.168.0.100	TCP,25	
    Allow	Virtual Server POP3	WAN,*	LAN,192.168.0.100	TCP,110
    My log for mail.
    Code:
    Jun 25 10:20:25 beastserver courierpop3login: LOGIN, user=web1_admin, ip=[::ffff:127.0.0.1]
    Jun 25 10:20:25 beastserver courierpop3login: LOGOUT, user=web1_admin, ip=[::ffff:127.0.0.1], top=0, retr=0, rcvd=12, sent=88, time=0
    
    Nothing in mail.err

    B
     
    Last edited: Jun 25, 2007
  8. Beastcave

    Beastcave New Member

    Port Test

    Hello,

    I checked and found a port tester that I could determine if any of ports are blocked or not.

    Using nmap -A -p 10-800 www.mydomain.com
    and this is what I get:
    Code:
    Starting Nmap 4.10 ( http://www.insecure.org/nmap/ ) at 2007-06-25 11:33 EDT
    Interesting ports on d36-143-153.MY-ISP-SITE (XXX.MY.IP.XXX):
    Not shown: 784 filtered ports
    PORT    STATE  SERVICE VERSION
    21/tcp  open   ftp     ProFTPD 1.3.0
    23/tcp  closed telnet
    25/tcp  open   smtp    Postfix smtpd
    80/tcp  open   http    Apache httpd 2.0.55 ((Ubuntu) PHP/5.1.6 mod_ssl/2.0.55 OpenSSL/0.9.8b)
    81/tcp  open   http    Apache httpd 1.3.37 ((Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8e)
    110/tcp open   pop3    Courier pop3d
    443/tcp open   http    Apache httpd 2.0.55 ((Ubuntu) PHP/5.1.6 mod_ssl/2.0.55 OpenSSL/0.9.8b)
    Device type: general purpose|broadband router
    Running: Linux 2.4.X|2.5.X, D-Link embedded
    OS details: Linux 2.4.0 - 2.5.20, Linux 2.4.18 - 2.4.20, Linux 2.4.26, Linux 2.4.27 or D-Link DSL-500T (running linux 2.4)
    Uptime 6.788 days (since Mon Jun 18 16:40:57 2007)
    Service Info: Host:  "Servername.mydomain.com"; OS: Unix
    
    Nmap finished: 1 IP address (1 host up) scanned in 106.443 seconds
    
    It is bit weird that the ISP says that their port 25 is blocked and the nmap is showing it as open port.

    Is this useful information for myself to check the ports?

    B
     
  9. Beastcave

    Beastcave New Member

    Code:
    Reporting-MTA: dns; (MY ISP)
    X-Postfix-Queue-ID: B0FC632F4
    X-Postfix-Sender: rfc822; [My EMAIL]
    Arrival-Date: Wed, 20 Jun 2007 16:31:49 -0400 (EDT)
    
    Final-Recipient: rfc822; [email protected]
    Action: failed
    Status: 4.0.0
    Diagnostic-Code: X-Postfix; connect to mail.mydomain.com[XXX.MY IP.XXX]:
        Connection timed out
    
    Report from www.dnsreport.com
    Code:
    Trying to connect to all mailservers:
    
       mail.mydomain.com. - XXX.MY IP.XXX  [Could not connect: Could not receive data: Operation timed out.] 
    What could be the reasons?

    Thanks
    B
     
    Last edited: Jun 25, 2007
  10. mlz

    mlz Member


    Um, that won't work, your local to yourself, not going through the providers network...

    You need to do this remote from your server...
     

Share This Page