Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Comments in /etc/ips.remotedns (Remote Service IP's)

Discussion in 'Bind / DNS / Nameserver Issues' started by Dhaupin, Aug 9, 2017.

  1. Dhaupin

    Dhaupin Active Member

    Joined:
    Jan 3, 2014
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Is there a way to add comments to /etc/ips.remotedns (Remote Service IP's) so we can explain what IP addresses are used for?

    I have had to add a bunch of "temporary" IP's in the past when certain domains weren't ready to come off the default registrar nameservers. This causes confusion because its hard to understand what IP's are actually needed for addon domains.

    Today i want to add a couple Godaddy IP's to a server -- but only temporarily, with a note to remove them after domain swap. Is there a way I can leave a comment in that file/textbox?
     
    #1 Dhaupin, Aug 9, 2017
    Last edited: Aug 9, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,488
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You use hash to comment the line.
    "You can put a "#" and continue with the line, so the things following this "#" will all be commented..
     
  3. Dhaupin

    Dhaupin Active Member

    Joined:
    Jan 3, 2014
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Cool, that's what i tried in /etc/ips.remotedns and it seemed to work. However in the WHM interface for "remote service ip's" it says that its an "invalid DNS IP list" and wont let further saves. Not sure if that's a bug or what. Figured i had the wrong comment syntax or something.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    There's no support for adding comments to that file. I encourage you to open a feature request if this is something you'd like to see added to the product:

    Submit A Feature Request

    Thank you.
     
Loading...

Share This Page