I am having trouble settingt up my email, it used to work until another user changed my dns file zone.
If i send an email i get the following...
----- Transcript of session follows ----- 550 5.1.2 <test@example.co.uk>... Host unknown (Name server: mx2.external-mail-server.com.example.co.uk.: host not found) My Records are...[url]
batch edit of the name servers in every DNS Zone for every domain on one of my cPanel/WHM boxes. Rather than using WHM to manually modify the NS entries, I would like to find a way to do a batch or mass edit.
I simply need to change all instances of NS1 to NS3 and NS2 to NS4.
I was told a simple one line sed script should do the trick on /var/named but alas, I am woefully incapable of writing such a script.
Does anyone have any ideas? With over 200 domains on this box I'd hate to think this will have to be done manually.
I am trying to edit my database parameters by editing my /etc/my.cnf file. However I am new to SSH and can't seem to get this working. The parameter I wants to change in /etc/my.cnf file are as follows max_connections 600
Display some text in a web browser from a file called text.txt
text.txt will have many lines and some of them I do not want users to be able to modify and overwrite.
config_item_1=user can edit config_item_2=user should see but not edit (could be on any line) config_item_3=user can edit config_item_4=user can edit
The user has made their changes in the web browser and clicks submit. I then need this info to be saved as the text.txt file however some checking needs to be done first. Anything matching config_item_2 should be removed. This could be on any line. Anything not matching should be permitted and added.
When I view my servers hostname on dnsreport I get the following errors:
Quote:
WARN
MX records are not CNAMEs
WARNING: When I looked up your MX record, your DNS server returned a CNAME. This is an unusual situation, and I can't handle it -- the following MX tests may not work properly. The problem is: mail.fishsense.co.uk.->fishsense.co.uk.
Quote:
FAIL
MX A lookups have no CNAMEs
WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are: mail.fishsense.co.uk.->fishsense.co.uk.->67.18.217.170
Quote:
WARN Mail server host name in greeting
WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.
fishsense.co.uk claims to be non-existent host server.fishsense.co.uk: 220-server.fishsense.co.uk ESMTP Exim 4.63 #1 Fri, 12 Jan 2007 08:10:24 +0000 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
The contents of the zone file are:
Code: ; Zone File for fishsense.co.uk $TTL 14400 @ 86400 IN SOA ns1.fishsense.co.uk. myemail.domain.com ( 2007011204 7200 7200 2417200 86400 )
fishsense.co.uk. 86400 IN NS ns1.fishsense.co.uk. fishsense.co.uk. 86400 IN NS ns2.fishsense.co.uk.
fishsense.co.uk. 14400 IN A 67.18.217.170
localhost.fishsense.co.uk. 14400 IN A 127.0.0.1
fishsense.co.uk. 14400 IN MX 0 mail.fishsense.co.uk. ns1.fishsense.co.uk. 14400 IN A 67.18.217.170 ns2.fishsense.co.uk. 14400 IN A 67.18.217.171 fishsense.co.uk. 14400 IN TXT "v=spf1 a mx ~all" www 14400 IN CNAME fishsense.co.uk. mail 14400 IN CNAME fishsense.co.uk. ftp 14400 IN A 67.18.217.170 server.fishsense.co.uk 14400 IN A 67.18.217.170
Can someone explain to me in laymans terms (aka as simple as possible) on how I can fix the above errors.
This is probably a long shot, but is there a workaround way to be able to edit passwords for addon domains in cPanel 11? Apparently you can only manage redirection or remove: ...
My Pink Floyd website has a photo section of rare concert pictures that our members upload. We have about 3,000 of these pictures, that our members upload via an FTP server that is hosted on a simple cPanel web hosting account. Someone logged into the account and not only deleted all the pictures, but uploaded obscene pictures and index.html files to some really nasty stuff.
We delete all the obscene stuff, but before we re-upload all the pictures I need to know...
On a cPanel account is there a way to have the FTP User only able to upload files and not edit/delete/change? Somehow we can edit their permission?
I asked HostGator about this and the ChatTech said this cannot be done, and I was a bit surprised. I could easily do this on my own server, but i'm not sure where to start at the user level.
When cpanel edit the httpd.conf(to add subdomain/domain/etc) made a wrong. In the lines BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com-bytes_log CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined
it breaks them as follows -- BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com -bytes_log CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined
I have recently updated my cPanel/WHM to the latest stable version and with one (and maybe a few more) of the DNS zones I cannot edit using cPanel and I get this error:
Unable to parse zone: Error while parsing zonedata for THISISMYDOMAIN.COM: expected valid serial, line 4 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.
What can I do to fix this as I need to edit this DNS zone urgently.