Layer 3 i.e, network layer of the OSI model is used to IP addressing.
/n
IPv4
IPv4 is a method of Internet Protocol addressing that is in its 4 version. It is a way for end users and their internet hosts to identify themselves ont he web....basically
hierarchical addressing.
IPv4
IPv4 is an abbreviation for Internet Protocol version 4, which is a 32 bit addressing method. IPv6 is an abbreviation for Internet Protocol version 6, which uses 128 bits.
32-bit
Number 0 is used at the end of an IPv4 address for network identifiers and number 255 is used at end of an IPv4 for broadcast addresses.
An example is IPv4 addresses having network, subnetwork, and host portions.
IPV6 is less vulnerable to DNS Spoofing IPv4 addresses use 32 bit or 4 bytes for addressing IPv6 addresses use eight bit segments.
It's neither. IP is a transport layer protocol. Connection/Connectionless imply the network layer. Look up the OSI model. Actually you are correct, but it doesn't just go that far. The definition of connectionless is the ability to send and receive packets without already establishing connectivity between two or more specific entities. IPv4 is connectionless, meaning if I send information via IPv4 I can just send the packets without having to do much more than click "return". Hope this helps.
DNS - it handles both IpV4 and IPv6 addressing.