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.

Changing DNS admin email

Discussion in 'Bind / DNS / Nameserver Issues' started by bradyb1, Mar 1, 2007.

  1. bradyb1

    bradyb1 Registered

    Joined:
    Jul 1, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    I am currently undergoing a company name change, and I have changed the server contact email address from its old value to the new address, with my new company name.

    Now: How can I get this new address to show in teh DNS zone templates? Is there a script tha can be run? I have about 300 zone files on this server, so manually editing them is out of the question.

    Basically at the moment, the new address is new.address@newcompanyname.com, it is setup as the server contact email, however, in my clients DNS zones, it still shows as old.address@oldcompanyname.com

    Cheers
    BB
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    Indeed, you need some scripting to help you to update this.
     
  3. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    16
    replace 'old.emailaddress.company.com' 'new.emailaddress.example.com' -- /var/named/*

    should do the trick via SSH. Remember that in DNS zones that "@" is replaced by ".". Ok, the command doesn't increment the serial number as it should but...
     
  4. bradyb1

    bradyb1 Registered

    Joined:
    Jul 1, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    OK, where can I find such a script?
     
  5. bradyb1

    bradyb1 Registered

    Joined:
    Jul 1, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    No answers??
     
Loading...

Share This Page