resolv.conf question

Discussion in 'General' started by Al1937, Sep 21, 2009.

  1. Al1937

    Al1937 New Member

    Right now my resolv.conf file contains "nameserver 192.168.1.1" which is my router address.

    I have a paid account with DynDNS for my server's domain, which has all the mydyndns.org Nameservers
    assigned to it.

    I also have an account with OpenDns.

    My servers address is 192.168.1.100. Router port forwarding of 81(ispconfig2),80(http),20,21(FTP) to 192.168.1.100.

    Question: What is the correct "namesaver address" that resolv.conf should have?

    I have a Netgear v7 router, will anyone tell me how the basic setup should be?

    I have been at this for about a month and need help.

    It seems that for every question I have asked in the past that was answered
    opened up only more questions.

    I am absolutly unfamiliar with linux but want to learn.


    I just read this in another post.
    "I set up my main site which is showing and went to name cheap.com (domain registrar) and set up DNS there pointing to my outside IP address.

    Within name cheap itself now I have:

    ns1.MyMainDomain.com
    ns2.MyMainDomain.com"

    What does he mean:"my outside IP "
     
    Last edited: Sep 21, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) The router IP in /etc/resolv.conf is fine.
    2) The outdside IP address is the external IP address of your router.
     
  3. Al1937

    Al1937 New Member

    I know this is a DUMB question but for clarification:
    What is the external IP address of my router and where is it used, if at all?

    <<>> DiG 9.5.1-P2 <<>> bingftp.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38895
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;bingftp.com. IN A

    ;; ANSWER SECTION:
    bingftp.com. 60 IN A 76.29.158.151

    ;; Query time: 60 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Mon Sep 21 08:57:24 2009
    ;; MSG SIZE rcvd: 45

    [email protected]:/home/albert#

    Is 76.29.158.151 my external IP address?


    I am trying to host albertbrinson.com on my ubuntu 9.04 ispconfig2 server.
    I had it set up to where I got "Welcome to albertbrinson.com" but it was not accessable outside of my LAN.
    How do I get it out onto the Internet (WAN)?
     
    Last edited: Sep 21, 2009
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The external IP of your router is the IP that you get assigned from your internet service provider. This IP is used by any external client or server to reachy your systems. the external IP is used e.g. in DNS records while the internal IP is e.g. used for the apache website settings.
     

Share This Page