error message in mail log

Discussion in 'Installation/Configuration' started by cruz, Jun 19, 2008.

  1. cruz

    cruz New Member

    I just chaged from static ip with a adsl to comcast static ip. I went throught the setup from debian etch perfect setup guide for refrance and changed the ip address that was used with the dsl to the statics comcast gave me, (the dsl was a 192.168.1.155 address because I used portforwarding on my rouder)then I chaged the ips in ispconfig to my static comcast gave me. I connected the box to there modom/router and I can ping the sites and get the corect ip address, but the mail is giving me this error.
    HTML:
    status=deferred (Host or domain name not found. Name service error for name=domain.com type=MX: Host not found, try again)
    When I did a dig mx domain.com i get this.
    HTML:
    server1:~# dig mx mysite4webhosting.com
    ;; reply from unexpected source: 75.XXX.XXX.214#53, expected 192.168.1.1#53
    ;; reply from unexpected source: 75.XXX.XXX.214#53, expected 192.168.1.1#53
    ;; reply from unexpected source: 75.XXX.XXX.214#53, expected 192.168.1.1#53
    
    can some please help me? thanks you
    P.S. I just noticed that after the dig command it tells me ( connection timed out; no servers could be reached) Sorry for missing this info. Also the server is on 213 not 214. 214 is comcast I guess gateway.
     
    Last edited: Jun 19, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in your named.conf, and what's the output of
    Code:
    ifconfig
    ?
     
  3. cruz

    cruz New Member

    output

    I changed the box back to a 192 168 #. I have setup a router to the comcast device.Here is the name config
    HTML:
    options {
            pid-file "/var/run/bind/run/named.pid";
            directory "/etc/bind";
            auth-nxdomain no;
            /*
             * If there is a firewall between you and nameservers you want
             * to talk to, you might need to uncomment the query-source
             * directive below.  Previous versions of BIND always asked
             * questions using port 53, but BIND 8.1 uses an unprivileged
             * port by default.
             */
            // query-source address * port 53;
    };
    
    //
    // a caching only nameserver config
    //
    zone "." {
            type hint;
            file "db.root";
    };
    
    zone "0.0.127.in-addr.arpa" {
            type master;
            file "db.local";
    };
    
    zone "231.147.75.in-addr.arpa" {
            type master;
            file "pri.231.147.75.in-addr.arpa";
    };
    
    
    zone "stocktongoodsamaritan.org" {
            type master;
            file "pri.stocktongoodsamaritan.org";
    };
    zone "apostolichearts.com" {
            type master;
            file "pri.apostolichearts.com";
    };
    zone "mysite4webhosting.com" {
            type master;
            file "pri.mysite4webhosting.com";
    };
    
    
    ifconfig resuts
    HTML:
    /var/lib/named/etc/bind$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:01:80:5F:F0:4A  
              inet addr:192.168.1.45  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::201:80ff:fe5f:f04a/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:810 errors:0 dropped:0 overruns:0 frame:0
              TX packets:357 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:66800 (65.2 KiB)  TX bytes:100614 (98.2 KiB)
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. cruz

    cruz New Member

    spoofing nameserver ip

    HTML:
    No, but you can spoof the IP addresses associated with your own
    nameserver names by defining a master zone for each of those names, e.g.
    the world may know ns1.example.com as x.x.x.x (the VIP address) but your
    own nameservers could know it as y.y.y.y (because you have a
    "ns1.example.com" master zone with a y.y.y.y A record at its apex) thus
    bypassing the load-balancer and its troublesome NAT'ing behavior. It's a
    bit kludgey, but I haven't come up with anything better yet
    How do I go about spoofing the ip as he is talking about? Baby steps for my learning mind please. thanks
     

Share This Page