The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

local zone files?

Discussion in 'cPanel Developers' started by Potato, Jun 27, 2011.

  1. Potato

    Potato Active Member

    Joined:
    Dec 7, 2009
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I am looking to create a script that will allow you to view a site through a specified IP similar to editing the hosts file but online instead of locally. What i was wondering was if there is a way to make the DNS zone file local when you view it through a proxy script.

    For example

    domain.com has ns1 and ns2.demodomain.com

    I want to move my site to ns3 and ns4.newhost.com but want to make sure everything works so I simply setup an A record to 123.123.123.123 and use the proxy on my cpanel account and bam theres my site resolving to 123.123.123.123 through the proxy.

    If I need to clarify more let me know. im welcome to suggestions as well :)
     
  2. Potato

    Potato Active Member

    Joined:
    Dec 7, 2009
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    nvm... a proxy does use the local dns :D
     
  3. Potato

    Potato Active Member

    Joined:
    Dec 7, 2009
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    hmmmm

    for no reason at all it stopped. did cpanel release some sort of fix on this or something?
     
Loading...

Share This Page