All visit the website through the domain name, how to identify whether the client is an intranet customer?

all visit the website through the domain name, how to identify whether the client is an intranet customer?

I have such a need. The column categories seen by the internal network through domain name access are different from those seen by the external network.
the intranet can show more column data

Mar.20,2021

determine whether ip, is the ip of your intranet


domain name is just the translation of IP. You can add DNS related knowledge


three methods, the difficulty is from low to high, and the hole dug is from deep to shallow

  1. setting Host for all intranet clients
    is the easiest, but Tiankeng, every new computer, you have to set it manually
  2. add a resolution record to the private network DNS
    in the middle of the difficulty. Routers generally don't change the DNS to the Web interface. You need to change the configuration file on the command line. The advantage is that if you integrate with DHCP, you don't have to worry about it in the future
  3. .
  4. it is the most difficult to set up DMZ
    . You need to change the network topology, and you need the excellent technology of the router manufacturer to avoid bug,. The advantage is that IP access can also be solved. In the future, you don't have to worry about
    . Since the subject of
    has raised this problem, it should be stated that the local loop of router DMZ has bug .

combining the above, it is recommended to change to private network DNS.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ea34-2c447.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ea34-2c447.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?