• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

create Domain Alias error

S

skusol

Guest
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.
 
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...
 
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)
 
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?
 
hmm... try to change the global ip-range and switch back to defaults

i don't become any error from your post.
 
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".
 
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.
 
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.
 
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
 
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!
 
When I try to add new domain alias it say

Warning: Incorrect DNS Record parameter values were specified.

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

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 :(
 
Back
Top