bind – BIND9: Is it possible to point another IP address for the main domain?

Here is my zone file:

$ORIGIN .
$TTL 10800      ; 3 hours
example.com           IN SOA  ns1.example.com. email.example.com. (
                                25         ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                3600       ; minimum (1 hour)
                                )
                        NS      ns1.example.com.
                        NS      ns2.example.com.
                        A       1.1.1.1
                        MX      10 mail.example.com.
$ORIGIN example.com.
ftp                     CNAME   example.com.
mail                    A       1.1.1.1
ns1                     A       1.1.1.1
ns2                     A       1.1.1.1
www                     CNAME   example.com.

it is possible ns1.example.com be 1.1.1.1 but example.com to be 2.2.2.2? (without using another DNS server on 2.2.2.2)
How can I do that?

browser – Maximum width of CSS code does not work when website address has www in front

I was trying to fix this for a long time until I came across this.

I have set a maximum width for the body of my web page and it works fine on my local host. Then I downloaded the files to my host. If I had "www.mywebsite.com", then the web page spanned the entire browser and the maximum width did not work. But if I just entered "mywebsite.com", it worked.

Why is that?

How to get the customer address in a formatted form and print it – Magento2.3

enter description of image here

How to get the customer address like the above format and how to print it, if there are multiple customer addresses, how to get the particular customer address.

Thanks in advance :]

Return address of ConvertPathMacros on Win XP SP 3

I am trying to do a vulnerability scan ms08-067 on a Windows XP SP3 machine (English) on which I cannot download symbols. Can someone with an identical machine help me get the return address of the netapi32 function! ConvertPathMacros please

checkout – mandatory fields are required but are not displayed on the delivery address

I use magento 2.3.3, when I try to submit a chekout order, it does not display certain fields and it gives me:

Please check the delivery address information. "firstname"is required. Please enter and try again."lastname"is required. Please enter and try again."city"is required. Please enter and try again.

please help

applications – How can I get the IP address and port of an emulator detected by the `adb` server using` adb`?

How do I get the IP address and port of an emulator detected by adb server using adb?

adb detected my Android emulator, emulator-5554, and I can get its IP address and port using lsof, because there is only one emulator running.

How can I have adb display IP addresses and ports for detected emulators?


Example:

adb devices -l:

emulator-5554          device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:2

lsof -i4TCP:

adb       10981 nlykkei    9u  IPv4 0xb75adee8092187c5      0t0  TCP 127.0.0.1:5037 (LISTEN)
qemu-syst 10997 nlykkei   43u  IPv4 0xb75adee808ae3a25      0t0  TCP 127.0.0.1:5555 (LISTEN)

https://developer.android.com/studio/command-line/adb

linux – Ping to a successful IP address but telnet to a port with the IP result "Host is inaccessible", what are the possible reasons?

I have a host machine with a Linux system and its LAN IP 192.168.0.94

on the host there is port 2377 listening, so i can telnet :

(root@host-machine ~)# telnet 192.168.0.94 2377
Trying 192.168.0.94...
Connected to 192.168.0.94.
Escape character is '^)'.

now i connect in a docker container on the host, and i try to test the connection

bash-4.4# telnet 192.168.0.94 2377
telnet: can't connect to remote host (192.168.0.94): Host is unreachable

bash-4.4# ping 192.168.0.94
PING 192.168.0.94 (192.168.0.94): 56 data bytes
64 bytes from 192.168.0.94: seq=0 ttl=64 time=0.096 ms
64 bytes from 192.168.0.94: seq=1 ttl=64 time=0.102 ms

bash-4.4# telnet 192.168.0.94 3306
J
5.7.29

we see that the ping is successful , but the result telnet to port 2377 in the host is inaccessible, but strangely, telnet to port mysql seems to be OK
What's wrong?

e-commerce – Address validation in e-commerce. How to present?

Imagine a standard online store with a standard payment flow where the customer has to enter a valid delivery address.
I am looking for a good use of UPS Address Validation – API at street level but doesn't seem to understand how to use the suggestion significantly.

Scenario

The correct customer address is

2060 N KENTUCKY ST
ARLINGTON VA 22205
United States

Case: the customer enters an incorrect house number

Instead of 2060 he enters 2600

API Suggestions

"Candidate": [{
        "AddressKeyFormat": {
            "AddressLine": "2600 S KENT ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22202",
            "PostcodeExtendedLow": "2218",
            "Region": "ARLINGTON VA 22202-2218",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1000-1098 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "2310",
            "Region": "ARLINGTON VA 22205-2310",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1001-1099 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "2309",
            "Region": "ARLINGTON VA 22205-2309",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1100-1198 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "3516",
            "Region": "ARLINGTON VA 22205-3516",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1101-1199 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "3515",
            "Region": "ARLINGTON VA 22205-3515",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1500-1598 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "2825",
            "Region": "ARLINGTON VA 22205-2825",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1501-1599 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "2824",
            "Region": "ARLINGTON VA 22205-2824",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "1800-1899 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "2826",
            "Region": "ARLINGTON VA 22205-2826",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "2000-2098 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "3218",
            "Region": "ARLINGTON VA 22205-3218",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "2001-2099 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "3217",
            "Region": "ARLINGTON VA 22205-3217",
            "CountryCode": "US"
        }
    }, {
        "AddressKeyFormat": {
            "AddressLine": "2100-2199 N KENTUCKY ST",
            "PoliticalDivision2": "ARLINGTON",
            "PoliticalDivision1": "VA",
            "PostcodePrimaryLow": "22205",
            "PostcodeExtendedLow": "3219",
            "Region": "ARLINGTON VA 22205-3219",
            "CountryCode": "US"
        }
    }
    ...

What suggestions to make to the client?

Of course, it makes sense to provide the first suggestion to the customer

"Did you mean 2600 S KENT ST"?

But how would you present the rest of the options where the AddressLine The element contains a range of house numbers.

1000-1098 N KENTUCKY ST

Question

Have you seen or implemented something like this? – please provide a link where it can be found
Any clue is greatly appreciated

sniffer – Is there a way to sniff packets from a remote IP address?

One way to capture remote traffic on the Internet, when you are not on the same local network as the receiver or the sender, is using BGP diversion. Kapela and Pilosov made an excellent presentation on this subject during Defcon 16: http://www.securitytube.net/video/173

The attack requires that the attacker have control of an AS. He can send false prefix announcements with favorable properties to his peers so that they choose to route traffic for the victim through him. These announcements will spread and the attacker will be able to capture a large part of the traffic (if not all) that was intended for his victim. In order for traffic to be routed to the victim, the attacker must keep one of his "clean" peers so that he can transfer the traffic there.

The attack is complex and depends on many factors. The Internet is not a predictable place in terms of traffic flow. However, Kapela and Pilosov give a successful live demo of capturing traffic from the Defcon site. Another famous example is Pakistan accidentally hijacking YouTube traffic in 2008 (http://www.circleid.com/posts/82258_pakistan_hijacks_youtube_closer_look). China has been charged with diverting much of the US Internet traffic (http://bgpmon.net/blog/?p=282).

One way to protect yourself from this is to use end-to-end encryption, such as using SSL or IPSec. There are also initiatives that try to make BGP safer (SBGP, SOBGP).