WeIRD - just in time for halloween!!!

Discussion in 'ISPConfig 3 Priority Support' started by craig baker, Nov 1, 2024.

  1. craig baker

    craig baker Member HowtoForge Supporter

    on my nice new deb12 server, I've got a website up and going.it displays very nicely in firefox - but google chrome and opera display a DIFFERENT website!!! (I believe it was an original theme in wordpress and I replaced it later with the proper site and published everything!!)
    its NOT cache problems I've emptied cache and other customers in chrome pull up the wrong site and they never went to the site in the first place??

    how can this be? a customer naturally is very concerned!
    HELP!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There are possible reasons listed in read before posting. Maybe the site has no SSL and one browser access is on http and the other uses https. Or you have a split-brain situation in DNS (primary and secondary servers are not in sync; test at intodns.com). You should also test when you access the site and a wrong site shows up, in which access.log this is logged. or you use IPv4 and IPv6 and one points to a wrong site or server and one Browser uses IPv4 and the other IPv6.
     
  3. craig baker

    craig baker Member HowtoForge Supporter

    site has SSL its good. http https work same way on all browsers. but firefox pulls up right site opera/chrome do not!
    however, backup dns appears down! been using dollardns for 30+ years!
    but I'm curious why would firefox and chrome/opera on the same computer (and same isp) somehow pull up different sites?
    even if backup dns was down... primary is certainly up and correct??
     
  4. craig baker

    craig baker Member HowtoForge Supporter

    I am trying tu use ns9 as the secondary server for the affected website (trying to correct above problem as secondary dns seems down).
    though they both have same records the serial#s are not the same! can I easily (I know this is quick and dirty solution) make ns9's serial agree with ns10? or have ns10 communicate to ns9? both are ispconfig3. (my backup dns all I ever had to do was put its ip in the 'allow transfers' and notify fields?
     
  5. craig baker

    craig baker Member HowtoForge Supporter

    more weirdness - I notice in the access.log seems site is being attacked:
    also LOTS of POSTS to /xmlrpc.php returning 200 codes.
    seems site is under attack. as well as whatever else is going on!

    I had to replace the word lawxxxyer as its banned! no offense hopefully
    cdb.
     
  6. craig baker

    craig baker Member HowtoForge Supporter

    ENLIGHTENMENT -- just when I thought I was going nuts I noticed that firefox was accessing the wp-rocket plugin - which was not even Active -- but had been in the past. seems the bogus files were remnants of a dead plugin.
    activated it - and recreated the cache files - and all seems good!
    now about that backup dns....
     
  7. craig baker

    craig baker Member HowtoForge Supporter

    final thought on the weirdness - chrome/opera did NOT pull up the old cache pages (they displayed the site properly) - firefox pulled up cache pages from an INACTIVE plugin wp-rocket which had an old theme and information. How is this a thing? how can wordpress or apache serve up pages from an INACTIVE plugin? inquiring minds want to know?
    I did discover my old backup dns (dollardns.net) that I have used for over 35 years appears dead (or under huge ddos attack maybe?)
    it always worked flawlessly just had the ip in the notify fields on a new zone never an issue. but if they ARE dead....
    can I use a new ispconfig setup as the secondary dns? and can I have an existing ispconfig3 server (or two) now use it as the secondary dns? if so what changes need to be made on either end? do I 'convert' the current ones to master and have the new one as a slave? then I could simply change the ip on my defined nameserver ns4 (which now points to dollardns). redefine ns4 as the new ispconfig instance and .. what?
    thanks for your help as always. and how appropriate to discover all this on halloween? SPOOOOKY to have different browsers pull up different sites off the same url on the same computer? LOL
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Sure. Just add it as a slave server and create a new secondary DNS record in ISPConfig for the zone on the master while you select the new slave server in the server field. Then you must allow xfer to this IP in the primary zone.

    But why do you want to install a new server instead of looking why your currents secondary DNS is not syncing the zone?
     
  9. craig baker

    craig baker Member HowtoForge Supporter

    till said:
    But why do you want to install a new server instead of looking why your currents secondary DNS is not syncing the zone??

    till, being dead may have a lot to do with it.
    they have been down for several days now. (dollardns.net) free wonderful dns server I've used for 35 years. know anything about it by chance? I can find NOTHING.
    my current ispconfig setups are all standalones. so my question is what do I need to do to THEM to have them declared master servers - and then have the new install as a slave and act as the secondary dns? I setup ns4.cdbsystems.com to point to dollardns so all I have to do is redefine it (at godaddy) to the new server ip, and then hopefully dns will work? do I put in the 'also notify' fields on the stand alones to point to ns4 (after the ip switch).
    thanks...
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    You can do this with standalone system as well. All you have to do is to ensure that you create a primary zone on the system that is the primary (first) DNS server, set the IP address of your secondary server in the allow xfert to field.. Then go to the server that is the secondary DNS and create a DNS secondary zone zere (not a primary zone!) there, and both servers will start to sync the zone data.
     
  11. craig baker

    craig baker Member HowtoForge Supporter

    the zones all exist already on the standalones, but the allow xfer point to dollardns.net
    so I need to have a sql command to replace all allow xfer fields to new ip address on each of the stand-alones
    then on the new server I need to add all the existing zones as secondary zones? or would they populate automatically with a resync?
    inquiring minds etc :)
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Try:

    Code:
    update dns_soa set xfer = '1.2.3.4' WHERE xfer = '4.5.6.7'
    where 1.2.3.4 is the new IP and 4.5.6.7 is the old IP. Then use Tools > Resync to write the changes to disk.
     
  13. craig baker

    craig baker Member HowtoForge Supporter

    looks like my sec dns down permanently- still down. do I have to do anything to my stand alones to tell them they are masters? or anything to the new sec to tell it its a slave?
    thanks till.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    I've listed all the steps in post #10. You can also check the /var/log/syslog for DNS sync errors and you should check if primary and secondary zone files are correct.
     

Share This Page