Web Hosting Talk







View Full Version : DNS MX record on UNIX/CPANEL


jtrovato
07-10-2003, 09:05 PM
I have root on a red hat server that has WHM and CPANEL installed. Within one domain there are a few MX records I want to remove, I just don't know where they are located

within Cpanel if I go to mail manager and then click on Modifiy Mail Exchanger (MX Entry) (Which they had spelled incorrectly)

Within the Modify Mail Exchanger (MX Entry), I see a few domains I want to remove but there is no way in Cpanel nor WHM to do this. I'm thinking now I have to SSH into the server and remove them manually.

HOW????

I do not know where this is located.


Thanks

bobcares
07-10-2003, 09:14 PM
Hi!
cd /var/named
vi domain.db

Regards
Amar

jtrovato
07-10-2003, 09:17 PM
I have tried that already, there are MX records within the file that shows the MX records that are on the Cpanel page.

Weird. I don't know where Cpanel stores this information

bobcares
07-10-2003, 09:44 PM
Hi!
Try vi /etc/named.conf
Search for your domain named and see then search in that record.
Everything is stored in /var/named by default

Regards
Amar

eBoundary
07-11-2003, 12:11 AM
do you want to remove *just* the MX records for the domain or do you want to remove the entire domain zone file?

jtrovato
07-11-2003, 12:24 AM
What happen was for some reason in Cpanel there are entries to other domains for MX records.

This is what it says in cpanel



DNS File MX Entry Maintenance


Current MX Entries

itsadogslite.com: itsadogslite.com
mediapimp.com: mediapimp.com
pateesk.com: pateesk.com
patmullady.com: patmullady.com
patrickmullady.com: patrickmullady.com
redkarmamusic.com: redkarmamusic.com
retropunk.com: retropunk.com
seanmullady.com:
taramullady.com: taramullady.com
taramullady.retropunk.com:
theblackstones.com:
trailertrashproducts.com:


This is on the retropunk.com domain, I checked the named.conf file and nothing of these other domains. I also checked to see if they have their own and NOPE nothing.

I have no clue.....

Thanks