1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

create Domain Alias error

Discussion in 'Plesk for Windows - 8.x and Older' started by skusol, Jan 12, 2007.

  1. skusol

    skusol Guest

    0
     
    When I try to add new domain alias it say

    Notice: Undefined variable: host in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 262

    Notice: Undefined variable: val in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 326

    Notice: Undefined variable: host in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 262

    Notice: Undefined variable: val in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 326

    Warning: Incorrect DNS Record parameter values were specified.

    Any one know how to fix this, thanks in advanced.
     
  2. sergius

    sergius Golden Pleskian

    28
    57%
    Joined:
    Nov 6, 2005
    Messages:
    1,898
    Likes Received:
    0
    is it clean Plesk installation or upgrade from previous versions?
     
  3. skusol

    skusol Guest

    0
     
    It is an upgrade from previous version.
     
  4. sergius

    sergius Golden Pleskian

    28
    57%
    Joined:
    Nov 6, 2005
    Messages:
    1,898
    Likes Received:
    0
  5. mysleeovi

    mysleeovi Guest

    0
     
    i have the same problem, but its not a upgrade

    and the patch don't fix the problem
    (plesk 8.1)


    EDIT:

    you can resolve the problem with a DNS Defaults restoration...
     
  6. skusol

    skusol Guest

    0
     
  7. mysleeovi

    mysleeovi Guest

    0
     
    just click on Domains -> "your domain" -> DNS-Settings -> Restore Defaults

    note: take a screenshot from your old config, because after the restoration are all DNS-Settings setted back to defaults.


    (sry my english is bad)
     
  8. skusol

    skusol Guest

    0
     
    When I try to restore default for individual domain it's also error like this.

    Notice: Undefined variable: host in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 262

    Notice: Undefined variable: val in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 326

    Notice: Undefined variable: host in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 262

    Notice: Undefined variable: val in F:\Program Files\SWsoft\Plesk\admin\plib\dns\DNSZoneRec.php on line 326

    Error: Incorrect DNS Record parameter values were specified.

    Any idea?
     
  9. mysleeovi

    mysleeovi Guest

    0
     
    hmm... try to change the global ip-range and switch back to defaults

    i don't become any error from your post.
     
  10. sergius

    sergius Golden Pleskian

    28
    57%
    Joined:
    Nov 6, 2005
    Messages:
    1,898
    Likes Received:
    0
    It can happen if there are incorrect records in table psa.dns_recs with filed type that is not in "A", "CNAME", "MX", "TXT", "SRV", "AXFR", "master", "PTR", "none".
     
  11. mbeijen

    mbeijen Guest

    0
     
    I had the same issue today, was caused by an empty cname record in my dns info. Remove the empty cname record, problem fixed.

    How that empty cname ended up there, no clue, but it's fixed.
     
  12. skusol

    skusol Guest

    0
     
    What about type = "SOA" ?
    There are lots of record with this type.

    And there are no any empty cname record in my database.

    It's fix, just need to delete type='SOA' in database.
    Thanks everyone.
     
  13. killerloop

    killerloop Guest

    0
     
    Hi,

    we also had an empty CNAME record this morning. This was not made manually, so it seems to be a bug.

    We are using PLESK for Linux (psa v8.1.0_build81070224.19 os_SuSE 9.3)

    Bye
    killerloop
     
  14. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    this scary fix also worked for me

    I had the same problem. My solution, which I wouldn't recommend to anyone because it's way too scary, was to:

    1. Remote Desktop to the server.
    2. Install SQLyog or a similar SQL Management interface.
    3. Run the following SQL query: delete from dns_recs where type ='SOA'

    Ouch!
     
  15. inCharge.co.uk

    inCharge.co.uk Guest

    0
     
    In Plesk 8.6 I got this error (But not 'Undefined variable' when adding an alias, even though the 'Synchronize DNS' box was not checked and DNS was disabled for the domain.

    The problem stopped when I removed the Zone Transfer entry under DNS Settings => Zone Transfers tab. Delete the entry under 'Networks allowed to get a copy of DNS zone'.

    Another afternoon wasted fixing another stupid undocumented bug in a fully patched version of Plesk :(
     
Loading...