질문:
DNS 장애가 발생한 사용자를 검색 엔진으로 리디렉션하는 방법
기고자: Vladimir Sousa 및 Jeff Richmond, Cisco TAC 엔지니어
환경:WSA
증상:사용자가 존재하지 않는 URL(DNS 확인 불가)을 기본적으로 WSA에 입력하면 다음과 유사한 알림 페이지가 반환됩니다.
This Page Cannot Be Displayed
------------------------------------------------------------------------------------------------
The host name resolution (DNS lookup) for this host name ( temple.edu ) has failed. The Internet
address may be misspelled or obsolete, the host ( temple.edu ) may be temporarily unavailable,
or the DNS server may be unresponsive.
Please check the spelling of the Internet address entered. If it is correct, try this request later.
If you have questions, or if this condition persists, please contact your corporate network
administrator and provide the codes shown below.
------------------------------------------------------------------------------------------------
Notification codes: (1, DNS_FAIL, temple.edu)
일부 고객은 대신 사용자를 검색 엔진으로 리디렉션할 수 있습니다.이는 Windows Live Search에서 수행하는 작업과 유사합니다.
기본 알림 페이지를 다음과 유사한 것으로 변경하여 사용자 요청을 존재하지 않는 URL로 리디렉션할 수 있습니다.
Windows Live 검색의 경우:
<html>
<head>
<title> Notification Page </title>
<meta name="author" content="Cisco systems">
<meta name="description" content="Notification Page">
<meta http-equiv="refresh" content="0;url=http://search.live.com/results.aspx?FORM=DNSAS&q=%H">
</head>
<body>
<p>
</body>
</html>
Google의 경우:
<html>
<head>
<title> Notification Page </title>
<meta name="author" content="Cisco systems">
<meta name="description" content="Notification Page">
<meta http-equiv="refresh" content="0;url=http://www.google.com/search?hl=en&q=%H">
</head>
<body>
<p>
</body>
</html>
DNS_FAIL HTML 파일을 수정하는 단계는 다음과 같습니다.
- WSA에 대한 FTP - ftp admin@<WSA_host_name_or_IP>
- configuration/eun/en으로 이동합니다.
- ERR_DNS_FAIL 페이지를 다운로드 및 편집하거나 새 ERR_DNS_FAIL 페이지를 만듭니다.
- 편집한 ERR_DNS_FAIL 페이지를 configuration/eun/en 폴더에 업로드합니다.
- 업로드한 후 CLI 인터페이스에 로그인합니다.그런 다음 "Use Custom EUN pages" 옵션을 사용합니다.이 옵션이 이미 활성화된 경우 "EUN 페이지 새로 고침" 명령을 사용하여 업로드된 사용자 정의 EUN 페이지를 적용합니다.이 옵션은 CLI 명령 —> advancedproxyconfig > EUN에서 사용할 수 있습니다.